[英]The engine "node" is incompatible with this module. Expected version "X.X.X". Got "X.X.X"
I am getting error:我收到错误:
The engine "node" is incompatible with this module.
引擎“节点”与该模块不兼容。 Expected version "10.15.1".
预期版本“10.15.1”。 Got "12.14.1"
得到“12.14.1”
How do I fix this?我该如何解决?
You can use NVM commande (Node Version Manager), to use other Node version.您可以使用 NVM 命令(节点版本管理器)来使用其他节点版本。
Try: nvm use 12
尝试:
nvm use 12
In the package.json
file there is an "engines" section.在
package.json
文件中有一个“引擎”部分。
"engines": {
"node": "10.15.1"
}
Update it to the expected node version.将其更新为预期的节点版本。
"engines": {
"node": "12.14.1"
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.