1 、Missing script: “serve” 首先项目初始化 npm init -y 生成 package.json 有可能失败此方法 解决办法:删除C:\Users\用户名\.npmrc + 重新启动 2、解决办法—别忘记 npm i