简体   繁体   中英

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. 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重新安装

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM