[英]When the Vue project installs dependencies with yarn, fsevents@1.2.4 appears
项目中用yarn安装依赖一直报fsevents@1.2.4模块不兼容的问题info fsevents@1.2.4: The platform "win32" is incompatible with this module. info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation. error eslint@5.11.1: The engine "node" is incompatible with this module. Expected version "^6.14.0 || ^8.10.0 || >=9.10.0". Got "8.9.1" error Found incompatible module info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
项目中用yarn安装一直依赖报fsevents@2.4模块不模块的问题
info fsevents@1.2.4: The platform "win32" is incompatible with this module. info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation. error eslint@5.11.1: The engine "node" is incompatible with this module. Expected version "^6.14.0 || ^8.10.0 || >=9.10.0". Got "8.9.1" error Found incompatible module info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
info fsevents@1.2.4: The platform "win32" is incompatible with this module. info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation. error eslint@5.11.1: The engine "node" is incompatible with this module. Expected version "^6.14.0 || ^8.10.0 || >=9.10.0". Got "8.9.1" error Found incompatible module info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
删除之前的依赖包,通过npm install重新安装
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.