【发布时间】:2014-09-01 05:20:35
【问题描述】:
我正在使用 generator-angular-fullstack。 在我的本地机器上它工作正常,我运行
grunt serve
它启动了服务器,但在 VPS 中它失败了
Warning: Command failed: xdg-open: no method available for opening 'http://localhost:9000'
我已经安装了 xdg-utils
$ sudo apt-get install xdg-utils
Reading package lists... Done
Building dependency tree
Reading state information... Done
xdg-utils is already the newest version.
谁能解释我做错了什么?
【问题讨论】:
-
您确定安装了
xdg-open吗?尝试从控制台运行它。第二个建议:尝试将主机名更改为“0.0.0.0”。请向我们展示 Gruntfile。
标签: express gruntjs yeoman xdgutils