**********更新********* 这必须与我更改我的端口到我的ipaddress在config.js中,我可以在移动设备和桌面上进行测试。任何想法如何我可以做到这一点,而不必每次重新启动计算机时更改端口,以便它们始终设置为我的ipaddress进行测试?错误启动NPM ..鬼博客..错误npm开始
**********原始问题**** 我在启动npm运行我的ghost博客时遇到了一个奇怪的错误。它发生在之前,我又回到以前在github上的提交。似乎每次我通过不同的方法得到它,然后停止工作并关闭终端。那么当我重新启动它的另一个问题?也许github正在导致它。任何帮助都会很棒。试过我知道该怎么做的一切。
这里是错误消息:
[email protected] ~/sites/_repos/elite-university (get-back-on-it●●●)$ npm start
[email protected]启动/用户/ cconti77 /网站/ _repos /精英大学 节点索引
Migrations: Up to date at version 003
events.js:72
throw er; // Unhandled 'error' event
^
Error: listen EADDRNOTAVAIL
at errnoException (net.js:904:11)
at Server._listen2 (net.js:1023:19)
at listen (net.js:1064:10)
at net.js:1146:9
at dns.js:72:18
at process._tickCallback (node.js:419:13)
at process._tickFromSpinner (node.js:394:15)
npm ERR! [email protected] start: `node index`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is most likely a problem with the ghost package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node index
npm ERR! You can get their info via:
npm ERR! npm owner ls ghost
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.4.0
npm ERR! command "node" "/usr/local/bin/npm" "start"
npm ERR! cwd /Users/cconti77/Sites/_repos/elite-university
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.28
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/cconti77/Sites/_repos/elite-university/npm-debug.log
npm ERR! not ok code 0
这个问题似乎是脱离主题,因为它不是关于编程。请参阅帮助中心的[我可以询问哪些主题](http://stackoverflow.com/help/on-topic)。也许[超级用户](http://superuser.com/)或[Apple Stack Exchange](http://apple.stackexchange.com/)会是一个更好的地方。 – jww 2014-10-04 22:25:16