GithubHelp home page GithubHelp logo

Comments (8)

5HT avatar 5HT commented on June 1, 2024

You don't need span with ERROR_REPORTs

Seems like you haven't build some BEAM files {reason,undef}.

Show in n2o/samples me your bash-3.2$ ls {apps,deps}/*/ebin | wc -l
290

from mad.

henry-hz avatar henry-hz commented on June 1, 2024

thought it was the new priv search of cowboy 0.9,
you are right, routes.erl is not compiling, i thought it's a warning, but it's an error...
the output could be with capital letters...
screen shot 2014-11-03 at 3 19 36 pm

about the other tools, it's okay, i do prefer to run observer, etc... specially on dev mode, and also in _rel

from mad.

5HT avatar 5HT commented on June 1, 2024

Be careful about reporting on overdue code.
There is no n2o_sample in n2o sample.
Now it is called review application.

from mad.

5HT avatar 5HT commented on June 1, 2024

Just use the appropriate dependency version in your code.

from mad.

henry-hz avatar henry-hz commented on June 1, 2024

it's ok, I will take care on that,
the issue is on "mad app sample", in the formula below, it comes with 0.9 and should be okay.

mad app sample

cd sample

mad deps compile plan bundle web_app

from mad.

5HT avatar 5HT commented on June 1, 2024

oh that is really my fail.

from mad.

henry-hz avatar henry-hz commented on June 1, 2024

Hi Maxim, we are almost there, mad is fantastic, the "mad repl" and "mad rel" are running well, but "mad bundle my_app" still needs some fix:
[henry@apple geo-message-sim ]$ mad bundle web
Tool Params: ["web"]
[henry@apple geo-message-sim ]$ ls
apps deps rebar.config relx.config sys.config web
[henry@apple geo-message-sim ]$ ./web
escript: exception error: undefined function web:main/1
in function escript:run/2 (escript.erl, line 752)
in call from escript:start/1 (escript.erl, line 276)
in call from init:start_it/1
in call from init:start_em/1

from mad.

5HT avatar 5HT commented on June 1, 2024

you should always specify the name of module where function main/1 is defined.
rename wep_app.erl to web.erl would fix it :-)
I know this is not was expected I will try to fix it in more convenient way.

from mad.

Related Issues (20)

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.