Hi,
I successfully installed NodeJS and the "Hello World" example worked fine.
After that I installed nowjs. I tried the "Hello World" example at their
page: http://nowjs.com/doc/example but I get the following error:
module.js:337
> throw new Error("Cannot find module '" + request + "'");
> ^
> Error: Cannot find module 'now'
> at Function._resolveFilename (module.js:337:11)
> at Function._load (module.js:279:25)
> at Module.require (module.js:359:17)
> at require (module.js:375:17)
> at Object.<anonymous>
> (/var/www/www.dota3.de/htdocs/helloworld_server.js:7:13)
> at Module._compile (module.js:446:26)
> at Object..js (module.js:464:10)
> at Module.load (module.js:353:31)
> at Function._load (module.js:311:12)
> at Array.0 (module.js:484:10)
>
>
Node is installed in /opt/node. Anyone knows how to fix this issue?
BTW: I also tried to add
> export NODE_PATH="/usr/local/lib/node"
>
to my .bashrc file, but the error keeps coming.
Thanks for your help!
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en