2

I have to install npm and node

npm version - 6.4.0

node version -v6.3.1

when I have to install npm install -g @angular/cli an error occurred in npm

I was trying npm install -g npm@latest but same error

enter image description here

1 Answer 1

1

For working with @angular/cli you need to install Node JS higher than 6.9.7

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

4 Comments

I try this: sudo npm install -g update-node then version not updated
You need to remove NodeJs and install again. npm can not update NodeJS
@PeS I will reinstall node and npm.and if it works I will inform that.
Hello, Guys, I updated a node and npm version it's work thanks again @ Suren Srapyan and @PeS

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.