laravel项目bug

yarn install 报错

laravel项目bug

error An unexpected error occurred: "EPROTO: protocol error, symlink '../../

  1. 删除应用里面的 node_modules 文件夹。

    rm –rf node_modules

2、yarn install --save --no-bin-links

3、配置淘宝 npm 镜像。

yarn config set registry 'https://registry.npm.taobao.org'

4、yarn install

5、npm run watch-poll

 

相关文章:

  • 2021-06-25
  • 2022-01-09
  • 2021-12-19
  • 2022-01-11
  • 2021-08-19
  • 2021-09-27
  • 2021-11-08
  • 2021-07-17
猜你喜欢
  • 2021-08-15
  • 2021-04-05
  • 2021-10-24
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
相关资源
相似解决方案