nowjs issue

39 views
Skip to first unread message

Gaurav Sharma

unread,
Jun 18, 2011, 11:55:17 AM6/18/11
to nowjs
Hi,

I have installed nowjs using npm.
When I include this module in my file var nowjs = require('now');
I run into problems



node.js:183
throw e; // process.nextTick error, or 'error' event on first
tick
^
Error: /home/gaurav/node_modules/now/node_modules/node-proxy/lib/node-
proxy.node: undefined symbol: ev_rt_now
at Object..node (module.js:435:11)
at Module.load (module.js:339:31)
at Function._load (module.js:298:12)
at require (module.js:367:19)
at Object.<anonymous> (/home/gaurav/node_modules/now/lib/wrap.js:
10:13)
at Module._compile (module.js:423:26)
at Object..js (module.js:429:10)
at Module.load (module.js:339:31)
at Function._load (module.js:298:12)
at require (module.js:367:19)


What could be the reason?

Thanks,
Gaurav

Darshan Shankar

unread,
Jun 18, 2011, 2:02:06 PM6/18/11
to no...@googlegroups.com
What version of Node.js are you running? I believe this is a known issue in 0.5 pre, it should work fine if you use 0.4.8
--
Darshan Shankar

Gaurav Sharma

unread,
Jun 19, 2011, 3:42:33 AM6/19/11
to nowjs
I am using 0.4.8

Thanks,
Gaurav

Darshan Shankar

unread,
Jun 19, 2011, 3:56:12 AM6/19/11
to no...@googlegroups.com
Interesting... I'll take a look again in a few hours in the morning.
Sorry for the issue Gaurav!

D

Sent from my iPhone

Gaurav Sharma

unread,
Jun 19, 2011, 4:51:35 AM6/19/11
to nowjs
thanx Darshan!



On Jun 19, 12:56 pm, Darshan Shankar <d.n.shan...@gmail.com> wrote:
> Interesting... I'll take a look again in a few hours in the morning.
> Sorry for the issue Gaurav!
>
> D
>
> Sent from my iPhone
>

Eric Zhang

unread,
Jun 19, 2011, 12:48:18 PM6/19/11
to no...@googlegroups.com
Hi Gaurav,

It looks like the node-proxy module that NowJS depends on wasn't compiled correctly. 

Try explicity installing node-proxy by running `npm install node-proxy --verbose` in the same folder in which you ran npm install now.

Are any errors output?


Eric

Gaurav Sharma

unread,
Jun 20, 2011, 5:21:24 AM6/20/11
to no...@googlegroups.com
Hi Eric,

I think the problem is with node-proxy. I try to include node-proxy module and it gave me the same error.

How do i fix this node-proxy stuff. I think there are  couple of versions on node-proxy 0.3.2 and 0.4.0

Thanks,
Gaurav

Gaurav Sharma

unread,
Jun 20, 2011, 10:08:47 AM6/20/11
to nowjs
Eric,

I got this while installing node-proxy using following command npm
install node-...@0.3.2 --verbose


> node-...@0.3.2 install /home/gaurav/node_modules/node-proxy
> make

BUILDING: C++ Component
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
'configure' finished successfully (0.079s)
Waf: Entering directory `/home/gaurav/node_modules/node-proxy/src/
build'
[1/2] cxx: node-proxy.cc -> build/default/node-proxy_1.o
[2/2] cxx_link: build/default/node-proxy_1.o -> build/default/node-
proxy.node
Waf: Leaving directory `/home/gaurav/node_modules/node-proxy/src/
build'
'build' finished successfully (1.223s)
npm info postinstall node-...@0.3.2
npm verb installOne cb node-...@0.3.2
node-...@0.3.2 ../../node_modules/node-proxy
npm verb exit [ 0, true ]
npm info ok



Thanks,
Gaurav

On Jun 20, 2:21 pm, Gaurav Sharma <gks2...@gmail.com> wrote:
> Hi Eric,
>
> I think the problem is with node-proxy. I try to include node-proxy module
> and it gave me the same error.
>
> How do i fix this node-proxy stuff. I think there are  couple of versions on
> node-proxy 0.3.2 and 0.4.0
>
> Thanks,
> Gaurav
>
>
>
>
>
>
>
> On Sun, Jun 19, 2011 at 10:18 PM, Eric Zhang <e...@nowjs.com> wrote:
> > Hi Gaurav,
>
> > It looks like the node-proxy module that NowJS depends on wasn't compiled
> > correctly.
>
> > Try explicity installing node-proxy by running `npm install node-proxy
> > --verbose` in the same folder in which you ran npm install now.
>
> > Are any errors output?
>
> > Eric
>
Reply all
Reply to author
Forward
0 new messages