V
V
Vladislav2015-03-24 00:40:49
Node.js
Vladislav, 2015-03-24 00:40:49

How to properly install modules for node.js under windows?

I'm trying to install some node.js module like bower. I run npm install -g bower, everything is installed, I try to run it, and I get an error "bower" is not an internal or external program, etc. I have the NODE_PATH = %AppData%\npm\node_modules variable set. I'm trying to run everything on windows 8. How to solve this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2015-03-24
@MrBikus

Actually, the executable files are in %AppData%\npm
And this directory should be written in the PATH
variable Personally, I don't remember manually writing it. in my opinion, the node installer does this itself (the system only needs to be rebooted after the installation)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question