I just ran the Heroku NodeJS install for Windows, which installed heroku, git, node and npm. I configured the PATH manually to include "C:\Program Files\Heroku\bin\;C:\Program Files\Heroku\lib\;C:\Program Files\Heroku\lib\npm\bin\"
The npm-cli.js file is located in C:\Program Files\Heroku\lib\npm\bin\ When I try to enter "npm -v" into powershell, I get the error "C:\Program Files\Heroku\bin\npm\bin\node_modules\npm\bin\npm-cli.js"
Why is it looking for that file in that path?
I do have the path "C:\Program Files\Heroku\lib\npm\node_modules" but there is no "npm" folder within the node_modules folder.
Do I need to manually rearrange the files? Or do something different in the PATH variables? Or is there something else I did wrong along the way?
via Kellen
No comments:
Post a Comment