2014-01-24 32 views
0

我已经安装了node.js。我在博客文件所在的目录中键入命令npm install --production 和npm start。然而,输出只是: -幽灵平台不听Windows 8?

E:\Documents\Blog\ghost-0.4.0>npm start 

> [email protected] 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 

> [email protected] 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. 

我应该如何解决这个问题?

回答

0

它在Windows 7上的工作方式与此完全相同,我不认为Windows 7和Windows 8有任何区别,所以这很奇怪。

你可以直接用节点启动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 down