1

I am getting this message when running npm install -g @angular/cli:

npm WARN optional Skipping failed optional dependency /@angular/cli/chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: [email protected]

My Node is v8.10.0, Npm version is 3.5.2 and my operating system is Ubuntu 18.04 LTS

Could anybody help ?

Thanks

1
  • Try npm install --no-optional... Commented Jan 9, 2019 at 13:39

1 Answer 1

1

You need a higher version of both Node and npm. From the docs:

Both the CLI and generated project have dependencies that require Node 8.9 or higher, together with NPM 5.5.1 or higher.

As mentioned by @DaltonCézane npm install --no-optional might also help you:

The --no-optional argument will prevent optional dependencies from being installed.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.