Unable to load /nowjs/now.js
Asked Answered
S

3

8

When I start the server, I get the following error

[Error: Unable to load shared library /home/boopathi/node_modules/now/node_modules/node-    proxy/lib/node-proxy.node]
Error: Unable to load shared library /home/boopathi/node_modules/now/node_modules/node-proxy/lib/node-proxy.node
at Object..node (module.js:465:11)
at Module.load (module.js:353:31)
at Function._load (module.js:310:12)
at Module.require (module.js:359:17)
at require (module.js:370:17)
at Object.<anonymous> (/home/boopathi/node_modules/now/lib/proxy.js:10:13)
at Module._compile (module.js:434:26)
at Object..js (module.js:452:10)
at Module.load (module.js:353:31)
at Function._load (module.js:310:12)

When I make the node-proxy module manually, I get the following warning..

[2/2] cxx_link: build/Release/node-proxy_1.o -> build/Release/node-proxy.node 

in yellow color...

Now I'm not able to load the /nowjs/now.js file

I tried --harmony_proxies .. but it did not help ..

Spitfire answered 2/1, 2012 at 13:12 Comment(2)
What is your nodejs version? Run node -v to find it out.Horatius
0.6.6... using Arch linux ... installed node using pacmanSpitfire
H
6

This should help you find it out:

Fire up gdb node. Type break node.cc:1624, then type run yourscript.js. When gdb hits the breakpoint, use p/a dlerror() to obtain the address of the error. It should print something like $123 = 0xabcddefg. Now use x/s 0xabcddefg (insert the address you got from the last command) to see the error. Is the error helpful?

Horatius answered 6/1, 2012 at 20:2 Comment(0)
B
0

I encountered same problem with bcrypt and found it's because my node was 32bit and bcrypt was build as 64bit. After I build a 64bit node, all things work fine.

Buckram answered 22/2, 2012 at 12:19 Comment(0)
T
0

I´ve tried this solution without success.

I guess the team made NowJS need to fix it current support in all plataforms. I cannot run NowJS under either Mac and Windows.

There is no way to accomplish it. Maybe some further version allow me to play with NowJS, but NOW, I can´t do it.

Tomtoma answered 3/3, 2012 at 20:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.