sudo rm -rf node_modules package-lock.json && npm install

 

执行npm install命令的时候报错Unexpected end of JSON input while parsing near  

解决:

终端执行命令npm cache clean --force

完成后再执行命令npm install

 

相关文章:

  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2021-05-07
  • 2021-05-25
  • 2021-08-29
  • 2022-12-23
  • 2021-11-22
猜你喜欢
  • 2022-12-23
  • 2022-03-08
  • 2022-12-23
  • 2021-08-30
  • 2021-06-02
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案