Giter VIP home page Giter VIP logo

awesomechat-elixir's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

awesomechat-elixir's Issues

function AwesomeChat.Storage.start_link/0 is undefined or private

I'm learning Elixir and was curious about your project. Unfortunately I can't compile it because it fails when I try to start the phoenix server:

Generated awesomechat app
[info] Running AwesomeChat.Endpoint with Cowboy on port 4000 (http)
[info] Application awesomechat exited: AwesomeChat.start(:normal, []) returned an error: shutdown: failed to start child: AwesomeChat.Storage
    ** (EXIT) an exception was raised:
        ** (UndefinedFunctionError) function AwesomeChat.Storage.start_link/0 is undefined or private. Did you mean one of:

      * start_link/2

            (awesomechat) AwesomeChat.Storage.start_link()
            (stdlib) supervisor.erl:358: :supervisor.do_start_child/2
            (stdlib) supervisor.erl:341: :supervisor.start_children/3
            (stdlib) supervisor.erl:307: :supervisor.init_children/2
            (stdlib) gen_server.erl:328: :gen_server.init_it/6
            (stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
[info] Application poolboy exited: :stopped
[info] Application cowboy exited: :stopped
[info] Application cowlib exited: :stopped
[info] Application ranch exited: :stopped
[info] Application phoenix_html exited: :stopped

=INFO REPORT==== 29-Jun-2016::00:21:03 ===
    application: logger
    exited: stopped
    type: temporary
** (Mix) Could not start application awesomechat: AwesomeChat.start(:normal, []) returned an error: shutdown: failed to start child: AwesomeChat.Storage
    ** (EXIT) an exception was raised:
        ** (UndefinedFunctionError) function AwesomeChat.Storage.start_link/0 is undefined or private. Did you mean one of:

      * start_link/2

            (awesomechat) AwesomeChat.Storage.start_link()
            (stdlib) supervisor.erl:358: :supervisor.do_start_child/2
            (stdlib) supervisor.erl:341: :supervisor.start_children/3
            (stdlib) supervisor.erl:307: :supervisor.init_children/2
            (stdlib) gen_server.erl:328: :gen_server.init_it/6
            (stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3

I don't know what is going on :(

More info:
OS: MacOS Capitan 10.11.3
elixir -v:

Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Elixir 1.3.0

What I have done:

git clone https://github.com/bodymindarts/awesomechat-elixir.git
cd awesomechat-elixir/
npm install && mix deps.get
brew install redis
(open new console) redis-server /usr/local/etc/redis.conf
mix phoenix.server
???
explodes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.