node问题记录 1、在运行npm run dev 时,报错sh: vite: command not found 没有安装package.json中的依赖导致的 安装依赖 npm i ,npm run dev就可以了