![]() I posted this question on superuser and as rightly pointed out by the accepted answer, I had an additional quote in my PATH which was causing issues with all the paths added after the quote. How do I make it work on a normal command prompt? EditĪfter node I started facing a similar problem with another application. I figured out that if I open "Nodejs command prompt" from program files, then npm is recognized. ![]() Have I missed any important step in the process? Edit I do see a Node.js icon in my Start -> Programms mennu which takes me to nodejs console but not sure what to do with that.One of the github issues on nodejs repository says that I need to restart the machine and it would fix.So I added C:\Program Files\nodejs to PATH only to get the same error again that npm is not recognized.Opening a command prompt in this directory makes npm work fine. I figure out that nodejs is installed in C:\Program Files\nodejs.At this stage, running where npm gives me c:\User\\AppData\Roaming\npm which has nothing in it.Install using 64-bit nodejs installer from => npm is not recognised.Install using Chocolatey => npm is not recognised. ![]() I am trying to get nodejs to work on my Windows 2008 box in order to install Karma which I would use for TDDing my AngularJs code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |