npm err!缺少脚本:“服务” npm err!可以在Vuejs中找到此运行的完整日志
你好,希望你一切都好!
设置项目安装vuejs后,我正在研究项目vuejs,还可以引导和运行npm run serve me显示此错误:
npm err!缺少脚本:“服务” npm err! npm err!要查看脚本列表,请运行: npm err! npm运行
npm err!可以在以下方式中找到此运行的完整日志 npm err! C:\ user \ user \ appdata \ local \ npm-cache_logs \ 2022-06-22T21_48_27_27_572Z-debug-0.log
Hello hope you are well!
I am working on project VUEJS after I setup the project install vuejs, also bootstrap and run npm run serve me display this error:
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! C:\Users\User\AppData\Local\npm-cache_logs\2022-06-22T21_48_27_572Z-debug-0.log
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了运行
package.json
内定义的NPM脚本,您必须在字典中,package.json.json
文件位于位置。您尝试从crud-app-frontend
运行脚本,但是您的package.json
实际上位于crud-app
中。您必须在那里导航,然后运行脚本。
In order to run npm scripts that are defined inside of
package.json
you have to be in the dictionary, where thepackage.json
file is located. You tried to run the script fromcrud-app-Frontend
, but yourpackage.json
is actually located incrud-app
.You have to navigate there and then run the script.