npm ERR! code ENOTSUPnpm ERR! notsup Unsupported engine for [email protected]: wanted: {“n

npm ERR! code ENOTSUP
npm ERR! notsup Unsupported engine for [email protected]: wanted: {"node":">=14"} (current: {"node":"10.19.0","npm":"6.14.4"})
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Not compatible with your version of node/npm: [email protected]
npm ERR! notsup Required: {"node":">=14"}
npm ERR! notsup Actual:   {"npm":"6.14.4","node":"10.19.0"}

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/lws/.npm/_logs/2022-07-18T02_26_00_691Z-debug.log

解决办法

升级Node.js。

步骤:

wget -qO- https://deb.nodesource.com/setup_16.x | sudo -E bash -

sudo apt-get install -y nodejs

猜你喜欢

转载自blog.csdn.net/lws24919/article/details/125843933
今日推荐