ionic3 启动报错:npm ERR! missing script: start_移动开发_编程问答

ionic3 启动报错:npm ERR! missing script: start

来源:互联网  时间:2018/1/28 0:34:24

关于网友提出的“ ionic3 启动报错:npm ERR! missing script: start”问题疑问,本网通过在网上对“ ionic3 启动报错:npm ERR! missing script: start”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:

问题: ionic3 启动报错:npm ERR! missing script: start
描述:

抱歉各位!
一起乌龙事件。这阵子一起学angular和ionic,结果是ionic项目我执行的npm run start命令……

前天还正常,我并没有删除什么东西。
缺少start如何操作呢?
日志没搞懂,麻烦高手指点一下!

日志如下:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\***.yang\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'start' ]
2 info using npm@4.6.1
3 info using node@v6.12.2
4 verbose stack Error: missing script: start
4 verbose stack     at run (C:\Users\***.yang\AppData\Roaming\npm\node_modules\npm\lib\run-script.js:151:19)
4 verbose stack     at C:\Users\***.yang\AppData\Roaming\npm\node_modules\npm\lib\run-script.js:61:5
4 verbose stack     at C:\Users\***.yang\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:356:5
4 verbose stack     at checkBinReferences_ (C:\Users\***.yang\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:320:45)
4 verbose stack     at final (C:\Users\***.yang\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:354:3)
4 verbose stack     at then (C:\Users\***.yang\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:124:5)
4 verbose stack     at C:\Users\***.yang\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:243:12
4 verbose stack     at C:\Users\***.yang\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
4 verbose stack     at tryToString (fs.js:457:3)
4 verbose stack     at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:444:12)
5 verbose cwd E:\Ionic3Demo\BaseMaster
6 verbose Windows_NT 6.1.7601
7 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\***.yang\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "start"
8 verbose node v6.12.2
9 verbose npm  v4.6.1
10 error missing script: start
11 verbose exit [ 1, true ]

解决方案1:

抱歉各位!
一起乌龙事件。这阵子一起学angular和ionic,结果是ionic项目我执行的npm run start命令……

上一篇ionic 断点调试
下一篇ionic3 android 打包签名命令问题
明星图片
相关文章
《 ionic3 启动报错:npm ERR! missing script: start》由码蚁之家搜集整理于网络,
联系邮箱:mxgf168#qq.com(#改为@)