Hello,
I have installed erlang on windows and I am trying to run
new_mochiweb.erl. I see this error. I am new to both erlang &
mochiweb. Can somebody explain what this error is about and how to get
around it?
Before running new_mochiweb.erl, I compiled the mochiweb using
mochiweb/make.
My cygwin bash output:
Sam@Sam-PC ~/mochiweb-read-only
$ ./scripts/new_mochiweb.erl myapp ../.
./myapp/
./myapp/support/
include.mk
start.sh
start-dev.sh
./myapp/src/
skel_web.erl
skel_sup.erl
skel_deps.erl
skel_app.erl
skel.hrl
skel.erl
skel.app
Makefile
./myapp/priv/
./myapp/priv/www/
index.html
Makefile
./myapp/include/
./myapp/ebin/
skel_web.beam
skel_sup.beam
skel_deps.beam
skel_app.beam
skel.beam
skel.app
./myapp/doc/
skel_web.html
skel_sup.html
skel_deps.html
skel_app.html
skel.html
./myapp/deps/
escript: exception error: no match of right hand side value
{error,enotsup}
in function 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/3
in call from escript:start/1
in call from init:start_it/1
in call from init:start_em/1
Sam@Sam-PC ~/mochiweb-read-only
$
Thanks.
Best
Sameer