我已经安装了node.js。我在博客文件所在的目录中键入命令npm install --production和npm start。然而,输出仅仅是:-
E:\Documents\Blog\ghost-0.4.0>npm start
> ghost@0.4.0 start E:\Documents\Blog\ghost-0.4.0
> node index
E:\Documents\Blog\ghost-0.4.0>应该是:-
E:\Documents\Blog\ghost-0.4.0>npm start
> ghost@0.4.0 start E:\Documents\Blog\ghost-0.4.0
> node index
E:\Documents\Blog\ghost-0.4.0>
Ghost is running
Listening on 127.0.0.1:2368
URL configures as http://my-ghost-blog.com
press CTRL+C to shut down.我该如何解决这个问题?
发布于 2014-02-02 03:38:22
它在Windows7上的工作原理完全一样,我不认为Windows7和Windows8之间会有任何不同,所以这是相当奇怪的。
你可以直接用node启动Ghost,也许这会给出一个错误信息?
node index.js
C:\Projects\Ghost\ghost-0.4.1>node index.js
Ghost is running in development...
Listening on 127.0.0.1:2368
Url configured as: http://localhost:3000/blog
Ctrl+C to shut downhttps://stackoverflow.com/questions/21329961
复制相似问题