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 
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐