运行 yarn 的时候一直报错
vagrant@homestead:~/code/laravel-shop$ SASS_BINARY_SITE=http://npm.taobao.org/mirrors/node-sass yarn install --no-bin-links
yarn install v1.12.3
info No lockfile found.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.4: The platform "linux" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > sass-loader@7.1.0" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0".
[4/4] Building fresh packages...
error /home/vagrant/code/laravel-shop/node_modules/webpack-cli: Command failed.
Exit code: 127
Command: lightercollective
Arguments:
Directory: /home/vagrant/code/laravel-shop/node_modules/webpack-cli
Output:
/bin/sh: 1: lightercollective: not found
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
推荐文章: