当前位置:   article > 正文

Error occurred when executing command: npm run serve_error occurred when executing checkpointloadersimp

error occurred when executing checkpointloadersimple:
[0] Error occurred when executing command: npm run serve
[0] Error: spawn cmd.exe ENOENT
[0]     at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
[0]     at onErrorNT (internal/child_process.js:456:16)
[0]     at processTicksAndRejections (internal/process/task_queues.js:80:21)
[1] Error occurred when executing command:  nodemon mock/index.js 
[1] Error: spawn cmd.exe ENOENT
[1]     at Process.ChildProcess._handle.onexit (internal/child_process.js:264:19)
[1]     at onErrorNT (internal/child_process.js:456:16)
[1]     at processTicksAndRejections (internal/process/task_queues.js:80:21)
[1]  nodemon mock/index.js  exited with code -4058
[0] npm run serve exited with code -4058
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12

执行npm run dev 命令出错

将命令改为npm run serve 即可解决

在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/370448
推荐阅读
相关标签
  

闽ICP备14008679号