Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error running new_mochiweb.erl #24

Closed
andrewcantos opened this issue Dec 3, 2010 · 2 comments
Closed

Error running new_mochiweb.erl #24

andrewcantos opened this issue Dec 3, 2010 · 2 comments

Comments

@andrewcantos
Copy link

Regardless of directory specified or user permissions, I get...

escript: exception error: no case clause matching {error,enoent}
in function mochiweb_skel:skelcopy/4
in call from mochiweb_skel:skelcopy/2
in call from erl_eval:do_apply/5
in call from erl_eval:expr/5
in call from erl_eval:local_func/5
in call from escript:interpret/4
in call from escript:start/1
in call from init:start_it/1

Example command:
cd mochiweb/scripts
./new_mochiweb.erl test (produces the above error)

@etrepum
Copy link
Member

etrepum commented Dec 3, 2010

This script should've been deleted, but the new way to do this is with rebar and the Makefile.

To create a new mochiweb using project:
make app PROJECT=project_name

To create a new mochiweb using project in a specific directory:
make app PROJECT=project_name PREFIX=$HOME/projects/

@etrepum
Copy link
Member

etrepum commented Dec 28, 2010

$ ./scripts/new_mochiweb.erl
new_mochiweb.erl has been replaced by a rebar template!

To create a new mochiweb using project:
make app PROJECT=project_name

To create a new mochiweb using project in a specific directory:
make app PROJECT=project_name PREFIX=$HOME/projects/

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants