laravel项目bug

                                       laravel项目bug

yarn install 报错

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

猜你喜欢

转载自blog.csdn.net/awake720/article/details/89517856