Skip to content

npm ERR! 403 Forbidden: path-is-absolute@^1.0.0 installing angular cli #1694

@amathm

Description

@amathm

node: v11.6.0
os: macOS 10.13.6

I can't solve this problem and can really do with some help, I have a problem running

npm install -g @angular/cli

I keep getting the following error

`npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.2.2 (node_modules/@angular/cli/node_modules/chokidar/node_modules/fsevents):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: 403 Forbidden: https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz

npm ERR! code E403
npm ERR! 403 Forbidden: path-is-absolute@^1.0.0
`

prior to this error i was getting
`

Error 418 "I'm a teapot",

`

which i believe is to do with the registry; I've tried to solve that error though changing ...

npm config set registry https://registry.npmjs.org

from https to http but that didn't work, I've deleted prier node installs and have tried a litany of things.

can anyone help me figure this out.

update: I am behind a proxy; I have homebrew, nvm installed and I am currently experiencing nvm isuess as well

nvm ls-remote

returns N/A;
not sure if its related. I had a perfectly functional installation but problems started overnight; this might be a proxy related issue, and the fact that I've been trying to solve it for a while has probably created more problems.

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