Skip to content
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
@darkoverlordofdata

Description

@darkoverlordofdata

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions