cmd执行ionic serve命令,问题错误:npm ERR! Windows_NT
2016-12-22 15:21
513 查看
装好ionic2之后,你兴高采烈地准备大展身手,开启一片新天地,于是乎cmd执行 ionic serve,
结果,遇到问题了:
Error: listen EADDRINUSE 0.0.0.0:53703
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at Server._listen2 (net.js:1262:14)
at listen (net.js:1298:10)
at doListening (net.js:1397:7)
at _combinedTickCallback (internal/process/next_tick.js:77:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Module.runMain (module.js:607:11)
at run (bootstrap_node.js:420:7)
at startup (bootstrap_node.js:139:9)
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\cuiy
\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "ionic:serv
npm ERR! node v7.2.1
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLEnpm ERR!
npm ERR! ionic-hello-world@ ionic:serve: `ionic-app-scripts serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-hello-world@ ionic:serve script 'ionic-
serve'.
npm ERR! Make sure you have the latest version of node.js and npm in
npm ERR! If you do, this is most likely a problem with the ionic-hel
kage,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ionic-app-scripts serve
npm ERR! You can get information on how to open an issue for this pr
npm ERR! npm bugs ionic-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ionic-hello-world
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\cuiyan\Desktop\projects\dianhu\npm-debug.log
解决很简单:
结果,遇到问题了:
Error: listen EADDRINUSE 0.0.0.0:53703
at Object.exports._errnoException (util.js:1022:11)
at exports._exceptionWithHostPort (util.js:1045:20)
at Server._listen2 (net.js:1262:14)
at listen (net.js:1298:10)
at doListening (net.js:1397:7)
at _combinedTickCallback (internal/process/next_tick.js:77:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
at Module.runMain (module.js:607:11)
at run (bootstrap_node.js:420:7)
at startup (bootstrap_node.js:139:9)
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\cuiy
\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "ionic:serv
npm ERR! node v7.2.1
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLEnpm ERR!
npm ERR! ionic-hello-world@ ionic:serve: `ionic-app-scripts serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-hello-world@ ionic:serve script 'ionic-
serve'.
npm ERR! Make sure you have the latest version of node.js and npm in
npm ERR! If you do, this is most likely a problem with the ionic-hel
kage,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ionic-app-scripts serve
npm ERR! You can get information on how to open an issue for this pr
npm ERR! npm bugs ionic-hello-world
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ionic-hello-world
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\cuiyan\Desktop\projects\dianhu\npm-debug.log
解决很简单:
1.更新node,npm
2.执行cmd命令时,使用管理者权限就行了
相关文章推荐
- React Native创建项目时报错:npm ERR! Windows_NT 10.0.10240 错误
- npm install 错误信息:npm ERR! Windows_NT 6.1.7601
- 解决npm err windows_nt 6.1.7601问题
- 搭建angular2 的环境遇到的问题npm ERR! Windows_NT 10.0.14393 npm ERR! argv "C:\\Program Files\\nodejs\\node.exe
- 使用NPM命令安装库时,遇到 npm ERR! fetch failed https://registry.npmjs.org/xxx的问题
- windows下配置环境变量时,在cmd窗口执行配置的命令时无效的原因
- PHP启动windows应用程序、执行bat批处理、执行cmd命令的方法(exec、system函数详解)
- npm install时报错 npm ERR!Windows_NT 6.1.7601
- windows 下 python 连续执行 cmd 命令(多行)
- PHP启动windows应用程序、执行bat批处理、执行cmd命令的方法(exec、system函数详解)
- maven执行打包命令(mvn package)是出现Java heap space错误的解决方法(windows环境)
- java执行windows下cmd命令的方法
- CDH执行yarn命令报权限问题错误
- 繁体linux服务器vim乱码或者执行错误命令返回乱码问题解决
- windows在cmd执行svn 命令
- Java获取Windows CMD窗口执行命令的返回信息【转自国外某网站】
- windows下配置环境变量时,在cmd窗口执行配置的命令时无效的原因
- windows 7 cmd 下执行 crtmqm -q TestMqm报AMQ8101: 发生 WebSphere MQ 错误(893)。
- CMD命令执行停不下来的问题
- npm install时报错 npm ERR!Windows_NT 6.1.7601