问题:创建项目的时候报错:
info fsevents@2.3.2: The platform “win32” is incompatible with this
module. info “fsevents@2.3.2” is an optional dependency and failed
compatibility check. Excluding it from installation. error
eslint-plugin-vue@8.7.1: The engine “node” is incompatible with this
module. Expected version “^12.22.0 || ^14.17.0 || >=16.0.0”. Got
“12.16.0” info Visit https://yarnpkg.com/en/docs/cli/install for
documentation about this command. error Found incompatible module.
ERROR Error: command failed: yarn
解决办法:
// 输入该命令
yarn config set ignore-engines true
本文转载,原文来源于:https://blog.csdn.net/qq_26642611/article/details/122927730