3
I installed the nodejs without problems. I ran this command and it was:
npm -v
1.4.28
Right after I try to install Bower and I can’t:
npm install -g bower
After running this command appears this: I have no idea what it is (I have installed several times on other computers and never gave this error)
How do I fix it?
UPDATE: No more error appears when installing more Bower command it does not work:
I opened windows cmd as administrator and I ran the same code gave no error, but now I try to see if Bower was installed
bower -v
and says that the command was not found– Salatiel Queiroz
You tried to restart the computer after?
– mutlei
Yes, and keep giving
Command not found
– Salatiel Queiroz
Update the question with the new bug.
– mutlei
Ready put up a print of what is happening
– Salatiel Queiroz
I updated the answer.
– mutlei
Can’t do it the way you said. I downloaded the control panel and put it in the path this:
C:\Program Files (x86)\Git\local;C:\Users\Casa\AppData\Roaming\npm;C:\Users\Casa\AppData\Roaming\npm\node_modules\bower\bin\bower
– Salatiel Queiroz
Just haven’t erased the whole PATH by typing it. But it must have worked, I think.
– mutlei
Let’s go continue this discussion in chat.
– mutlei