npm install 出现类似 这样的错误
npm ERR! Unexpected end of JSON input while parsing near '...ostcss-modules-values'
可以试一下 npm cache clean --force 清理
如果还不行 可能是nodejs 的版本问题
我升级nodejs出现了这个问题 降级后正常了
npm install 出现类似 这样的错误
npm ERR! Unexpected end of JSON input while parsing near '...ostcss-modules-values'
可以试一下 npm cache clean --force 清理
如果还不行 可能是nodejs 的版本问题
我升级nodejs出现了这个问题 降级后正常了
转载于:https://juejin.im/post/5b2fa10451882574830d06b8