我安装了‘反应性-双向-无限-滚动’,但它似乎在使用节点v9/8,当我在vercel上部署项目时,它会抛出
error react-bidirectional-infinite-scroll@2.0.1: The engine "node" is incompatible with this module. Expected version "^9.2.0 || ^8.0.0". Got "12.20.1"
error Found incompatible module.我试图按照某人的建议,将以下内容放置在package.json中:
"engines" : {
"node" : "<=9.2.0"
},
"engineStrict" : true,但之后错误变成了
Error: Found `engines` in `package.json` with a discontinued Node.js version range..etchttps://stackoverflow.com/questions/66013520
复制相似问题