
无demo
图片好像挂了,复制下报错代码
events.js:174
throw er; // Unhandled 'error' event
^
Error: spawn cmd ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Emitted 'error' event at:
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: vue-cli-service serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:UsersAIERXUANAppDataRoamingnpm-cache_logs2019-07-01T14_21_58_949Z-debug.log
vue.config.js 中 open:true 注释掉 就可以了
安装项目依赖之后运行报错(问题描述)
重现的步骤(问题复现步骤)
截图或Gif(截图或动态图)
链接到最小复制(最小可在线还原演示)
无演示
其他相关信息(格外信息)
- 你的操作系统:win10系统32位
- Node.js版本:node版本10.15.3
- vue-element-admin版本:4.2.1
vue.config.js中open:true注释掉就可以了
谢谢大佬的指点
------------------ 原始邮件 ------------------
发件人: "鲍泽功"notifications@github.com;
发送时间: 2019年7月6日(星期六) 晚上8:06
收件人: "PanJiaChen/vue-element-admin"vue-element-admin@noreply.github.com;
抄送: "471251098"471251098@qq.com;"Comment"comment@noreply.github.com;
主题: Re: [PanJiaChen/vue-element-admin] npm run dev 报错 (#2311)
安装项目依赖之后运行报错(问题描述)
重现的步骤(问题复现步骤)
截图或Gif(截图或动态图)
链接到最小复制(最小可在线还原演示)
无演示
其他相关信息(格外信息)
你的操作系统:win10系统32位
Node.js版本:node版本10.15.3
vue-element-admin版本:4.2.1
vue.config.js中open:true注释掉就可以了
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
vue.config.js 中 open:true 注释掉 就可以了
为什么啊?你真厉害
好奇,为什么注释掉了就可以了?
一样的报错,我的vue.config.js里没有open:true怎么办
Most helpful comment
vue.config.js 中 open:true 注释掉 就可以了