Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

engine 无法在本地启动了 #3115

Open
yuchenbo opened this issue Nov 30, 2024 · 4 comments
Open

engine 无法在本地启动了 #3115

yuchenbo opened this issue Nov 30, 2024 · 4 comments

Comments

@yuchenbo
Copy link

本地版本:
node : v14.17.0
npm : 6.14.13

系统中要求的版本:
"engines": {
"node": ">=14.17.0 <16"
},

理论上是符合系统的要求的,但是安装到最后,node_modules是生成了,但是有两个依赖报错
image

然后运行npm start的时候报错:

image

原因应该是依赖的包没有兼容这个低版本,请问官方是如何解决的

@long36708
Copy link

安装依赖失败了,加上 --ignore-engines 参数重新安装

@yuchenbo
Copy link
Author

安装依赖失败了,加上 --ignore-engines 参数重新安装

强制安装会引发兼容性问题,最好还是作者解决一下,毕竟是引擎底层

@yuchenbo yuchenbo reopened this Dec 15, 2024
@yuchenbo
Copy link
Author

安装依赖失败了,加上 --ignore-engines 参数重新安装

强制安装会引发兼容性问题,最好还是作者解决一下,毕竟是引擎底层

而且这里忽略版本一样会导致npm run setup的时候报错

@light-1986
Copy link

image

image
前后报错的版本,不匹配

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants