homestead

  • homestead环境中使用Laravel Mix报错的解决方法

    ·

    报错信息汇总(解决方案在文章下面) 报错信息1: 此报错在执行yarn install命令时弹出 error An unexpected error occurred: “EPROTO: protocol error, symlink ‘../../../parser/bin/babel-parser.js’ -> ‘/home/vagrant/Code/cloudsystem/node_modules/@babel/core/node_modules/.bin/parser'”. info If you think this is a bug, please open a bug report with the information provided in “/home/vagrant/Code/cloudsystem/yarn-error.log”. info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command. 报错信息2: 此报错在执行npm run watch-poll命令时弹出 sh: 1: cross-env: not found npm ERR! file…

    Read More