1. Error: Cannot find module ‘node:path’
- 最近新开项目使用vite3.0+ 发现使用node 模块path 会报错:升级node到16.16.0就可以了
- npm install npm@6 -g 升级npm版
- npm view node versions : 查看所有node版本
2、安装出错:npm ERR! Cannot read properties of null (reading ‘pickAlgorithm’)
- npm cache clear --force
- npm i
所有评论(0)