我尝试做一个yarn add
,但我有这个错误:
The engine "node" is incompatible with this module. Expected version "12.x". Got "14.8.0"
最佳答案
你只需要更新你的packages.json。
目前 :
"engines": {
"node": "12.x"
}
更新 : "engines": {
"node": "14.8.0"
}
关于node.js - 引擎 "node"与此模块不兼容。预期版本 "12.x"。得到 "14.8.0",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66429081/