解决npm ERR! Unexpected end of JSON input while parsing near '...e":"ngrx-store-freeze'

问题描述:试图执行从git远程仓库pull下的代码时提示需要npm install。

但是执行npm install之后会报如下错误。


于是网上搜索求助,发现需要

之后再重新运行npm install,安装成功之后即可重新运行ng serve

解决npm ERR! Unexpected end of JSON input while parsing near '...e

 

参考内容:https://github.com/npm/npm/issues/19072

你可能感兴趣的:(解决npm ERR! Unexpected end of JSON input while parsing near '...e":"ngrx-store-freeze')