報這個錯誤一般都是node版本不匹配原因導致看錯誤提示,我是提示有包要依賴node > 16的版本安裝完之後
1、清理npm緩存
npm cache clean -f
npm cache clean --force
2、刪除node_modules包
npm install rimraf -g
rimraf node_modules
3、在執行 npm install
就可以了
報這個錯誤一般都是node版本不匹配原因導致看錯誤提示,我是提示有包要依賴node > 16的版本安裝完之後
1、清理npm緩存
npm cache clean -f
npm cache clean --force
2、刪除node_modules包
npm install rimraf -g
rimraf node_modules
3、在執行 npm install
就可以了