This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Install node.js dependencies: fails #5811
Closed
Description
I'm following the install instructions at http://docs.angularjs.org/misc/contribute, and this step fails:
Install node.js dependencies:
npm install
I get this message in the log:
Please try running this command again as root/Administrator.
this requires
sudo npm install
More info...
After installing as root, I was getting other errors, when running grunt webserver, and grunt test:unit.
I uninstalled everyhing.
Then I installed gunt, and after a few go-rounds, I discovered that I needed to install bower also:
sudo npm install -g grunt-cli
sudo npm install -g bower
After installing these two dependencies, the unprivileged npm install succeeded, as well as the webserver and test suite.
Metadata
Metadata
Assignees
Labels
No labels