I'm trying to set up an environment where I can start messing around with 
Node.js. My first goal is to run one of the examples from Node Cookbook, by 
David Clements, and make some changes to it.

One of the steps in the example is to run 'hotnode script.js'. I understand 
what this is supposed to do, but I can't get it to work. The command 
processor says "'hotnode' is not recognized as an internal or external 
command," etc. (My environment is Windows 7.)

OK, so hotnode isn't installed as part of the basic Node.js package. I knew 
that npm is the Node.js installer, so I looked up how to use it and entered 
'npm install hotnode'. I got this response:

npm http GET https://registry.npmjs.org/hotnode
npm http 200 https://registry.npmjs.org/hotnode
npm http GET https://registry.npmjs.org/hotnode/-/hotnode-0.0.8.tgz
npm http 200 https://registry.npmjs.org/hotnode/-/hotnode-0.0.8.tgz
npm http GET https://registry.npmjs.org/watch/0.5.0
npm http 200 https://registry.npmjs.org/watch/0.5.0
npm http GET https://registry.npmjs.org/watch/-/watch-0.5.0.tgz
npm http 200 https://registry.npmjs.org/watch/-/watch-0.5.0.tgz
[email protected] node_modules\hotnode
└── [email protected]

I haven't figured out what all of that stuff means, but it looks like a 
bunch of normal progress messages. When I run hotnode, though, I still get 
the "...is not recognized" error.

I searched the Node.js installation directory for hotnode.exe and didn't 
find it.

I saw that in addition to the Node.js program directory, the Node.js 
installer added the pathname C:\Users\username\AppData\Roaming\npm to the 
system path. I looked at that directory and found that it was empty.

So, npm says it installed hotnode successfully, but didn't put it anyplace 
where I can use it or find it. What am I missing here?

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to