【Jenkins】执行yarn install报错:error An unexpected error occurred:"... ... :Unexpected end of JSON input"

 

解决方式:

  # cd /usr/local/n/versions/node/11.6.0/lib/(node的安装目录下)

  # rm -rf node_modules

  # yarn cache clean

  # yarn

参考链接:https://github.com/yarnpkg/yarn/issues/2629

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
  • 2022-12-23
  • 2022-12-23
  • 2021-11-06
猜你喜欢
  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
  • 2021-08-07
  • 2022-12-23
相关资源
相似解决方案