yarn add vue-router@4.0.0-beta.6时报错
error vite@1.0.0-rc.4: The engine "node" is incompatible with this module. Expected version ">=10.16.0". Got "10.15.0"
error Found incompatible module.
意思是:vite@1.0.0-rc.4:引擎“节点”与此模块不兼容。预期node版本“>=10.16.0”,现在是“10.15.0”
更改node版本或者忽略
解决:
yarn add vue-router@4.0.0-beta.6 --ignore-engines
参考链接:https://blog.csdn.net/BaiXuePrincess/article/details/99637850