启动项目的时候用npm run serve发现报了以下的错误
npm ERR! Missing script: "serve"
npm ERR!
npm ERR! To see a list of scripts, run:
npm ERR! npm run
npm ERR! A complete log of this run can be found in:
npm ERR! D:\nodereps\npm_cache\_logs\2022-04-24T03_27_08_34
前言
如果你觉得npm比较慢,又不想用yarn,那么pnpm是一个很好的选择。 花里胡哨的介绍完全不需要 ,快速 + 高效 ,就是pnpm最好的特性和体验。
官方使用文档
https://pnpm.io/zh/pnpm-cli
NPM安装PNPM
npx pnpm add -g pnpm
Upgrading pnpm
Once you have installed pnpm, there is no need to use other package manag
我的报错信息: npm WARN npm npm does not support Node.js v14.19.3 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can’t make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js