0

I ran ng new my-app command on terminal and I am getting this error

npm ERR! Unexpected end of JSON input while parsing near '...d//PMMK34X5bQG9jcknko'

npm ERR! A complete log of this run can be found in: npm ERR! /home/io/.npm/_logs/2018-09-30T04_36_48_556Z-debug.log Package install failed, see above.

1
  • Clear your npm cache and try again Commented Sep 30, 2018 at 5:10

1 Answer 1

1

Clear your npm cache and try again.

If not work then update npm and angular-cli, that will work.

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

Comments

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.