个人分类: 前端
⚙ Installing CLI plugins. This might take a while…
yarn install v1.13.0
info No lockfile found.
[1/4] Resolving packages…
[2/4] Fetching packages…
info fsevents@1.2.7: The platform “win32” is incompatible with this module.
info “fsevents@1.2.7” is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies…
[4/4] Building fresh packages…
success Saved lockfile.
Done in 45.07s.
? Invoking generators…
? Installing additional dependencies…
yarn install v1.13.0
[1/4] Resolving packages…
[2/4] Fetching packages…
info fsevents@1.2.7: The platform “win32” is incompatible with this module.
info “fsevents@1.2.7” is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies…
[4/4] Building fresh packages…
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
解决方法
yarn config set ignore-engines true