1、先将自己项目中的“node_modules”文件删除掉。 2、cmd进入项目目录文件夹 依次输入命令:npm install、npm run build,最后运行npm run dev后项目成功运行。