更新Ionic版本时
npm i -g ionic@latest
出现如下错误
npm ERR! Unexpected end of input at 1:14782
如下图

解决方法
使用如下命令:
npm cache clean --force
作者:Work Hard Work Smart
出处:http://www.cnblogs.com/linlf03/
欢迎任何形式的转载,未经作者同意,请保留此段声明!
|
|||
|
更新Ionic版本时 npm i -g ionic@latest 出现如下错误 npm ERR! Unexpected end of input at 1:14782 如下图
解决方法 使用如下命令: npm cache clean --force
作者:Work Hard Work Smart
|
|||