Cannot download Node packages using npm and shell
I installed Node 0.10.12 on Windows 7 using msi installer
Before this, I installed python 2.7 and gmake - all of which installed succesfully.
Now, I'm typing
"$ sudo npm install -g sax" to download the sax package and nothing is happening. All I get is "...". Just 3 dots.
Does this means that downloading is in progress or is something wrong? I guess something is wrong, since I see those dots for 30 minutes and still nothing. I just dont get it.
Also, in the book I read about node, says "/usr/local/lib/node_modules" for the modules folders, but I found the default modules here "C:\Program Files (x86)\nodejs\node_modules\npm\node_modules". Is that wrong? Does it mean something went wrong on the installation?
Three dots mean you are running the Command inside the node interpreter (Node.js command prompt).
npm install -g sax from the Windows command line terminal not node.js terminal. Type
cmd after opening Windows menu and open the program, then enter this command.