I am currently in the folder E:\Learn\app-code-vue
E:\Learn\app-code-vue>npm run dev
npm ERR! Missing script: "dev"
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\Shrikant Rana\AppData\Local\npm-cache\_logs\2022-01-24T14_
26_36_332Z-debug.log
4条答案
按热度按时间bmp9r5qi1#
See the scripts that are configured with Vue CLI 3 in the
package.json
fileso you can run by use this :
npm run serve
8ehkhllq2#
检查你的package.json文件,看看你的
"scripts"
键中是否有dev。如果你想运行一个dev命令,你的package.json
脚本标记应该是这样的:hwamh0ep3#
使用
npm run serve
对我很有效
0ve6wy6x4#
您可能需要检查是否确实位于正确的文件夹中