npm i一直出问题,改成用yarn,但还是会报错, @achrinza/node-ipc@9.2.2: The engine "node" is incom patible with this module. Expected version "8 || 10 || 12 || 14 || 16 || 17". Got "18.20.5"。
一开始我是nvm切换node版本,但是不管切哪个版本,最后依然会提示版本不对。
先执行自动补充兼容的命令: yarn config set ignore-engines true ,然后再yarn install一遍,最后yarn serve,终于能启动了
2025-04-08 @achrinza/node-ipc@9.2.2: The engine "node" is incom patible with this module. Expecte...
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
推荐阅读更多精彩内容
- 工作中有同事在用yarn安装依赖时,报错看错误信息得知为版本问题, The engine “node“ is in...
- error get-caller-file@2.0.5: The engine "node" is incompa...
- This project was bootstrapped with Create React App. Belo...