-
Notifications
You must be signed in to change notification settings - Fork 2
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
problem importing beamjs_misultin #6
Comments
AFAIR that piece of the documentation is outdated Try this ./beamjs -jspath ../beamjs_misultin/lib -bundles erlang node_compat 2011/10/7 Sławomir Janecki
|
tereska@VBOXU114:~/dev/beamjs$ ./beamjs -jspath ../beamjs_misultin/lib -bundles erlang node_compat stdlib commonjs -pa ../beamjs_misultin/ebin -pa ../beamjs_misultin/deps/misultin/ebin/ maybe i'm doing something wrong? |
is beamjs_misultin in your ~/dev ? 2011/10/7 Sławomir Janecki
|
yep tereska@VBOXU114:~/dev$ ls |
I've created clean virtual machine and it's all the same. check this out: fresh install ubuntu 11.04 with all updates run on oracle virtual boxinstall packetssudo apt-get install build-essential libcurses5-dev curl wget git libssl-dev scons strace mc ERLANG installcd ~ it tells that will make erl without jinterface, odbc, wx, docs. thats OKmake erlang is OK#beamjs install beamjs is OK#beamjs_misultin install compilaton was successfulrun misultincd ~/dev/beamjs please help me with this. |
Sławomir, I will look into this soon 2011/10/8 Sławomir Janecki
|
that's nice. thank you! |
i have Beam.js. and it works OK. I want to test out beamjs_misultin (builded fine):
tereska@VBOXU114:~/dev/beamjs$ ls -l ../beamjs_misultin/ebin/
total 12
-rw-r--r-- 1 tereska tereska 273 2011-10-07 22:19 beamjs_misultin.app
-rw-r--r-- 1 tereska tereska 6020 2011-10-07 22:19 beamjs_misultin.beam
tereska@VBOXU114:
/dev/beamjs$ ls -l ../beamjs_misultin/deps/misultin/ebin//dev/beamjs$total 88
-rw-r--r-- 1 tereska tereska 396 2011-10-07 22:19 misultin.app
-rw-r--r-- 1 tereska tereska 9812 2011-10-07 22:19 misultin.beam
-rw-r--r-- 1 tereska tereska 17816 2011-10-07 22:19 misultin_http.beam
-rw-r--r-- 1 tereska tereska 11064 2011-10-07 22:19 misultin_req.beam
-rw-r--r-- 1 tereska tereska 6236 2011-10-07 22:19 misultin_socket.beam
-rw-r--r-- 1 tereska tereska 13584 2011-10-07 22:19 misultin_utility.beam
-rw-r--r-- 1 tereska tereska 8904 2011-10-07 22:19 misultin_websocket.beam
-rw-r--r-- 1 tereska tereska 2204 2011-10-07 22:19 misultin_ws.beam
tereska@VBOXU114:
tereska@VBOXU114:~/dev/beamjs$ ./beamjs -pa ../beamjs_misultin/ebin/ -pa ../beamjs_misultin/deps/misultin/ebin/ -mod http beamjs_misultin
beam.js>
beam.js> require('http');
Error: Cannot find module 'http'
beam.js>
Could you help me?
thanks!
The text was updated successfully, but these errors were encountered: