0
votes

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 againIshant Gaurav

1 Answers

1
votes

Clear your npm cache and try again.

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