GET / - - - - ms in meanio

时间:2016-08-04 07:18:49

标签: angularjs node.js mongodb mean.io

我已按照以下说明安装了平均堆栈:

$ curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash
$ sudo apt-get update
$ sudo apt-get install nodejs
$ npm install -g gulp
$ npm install -g bower
$ sudo npm install -g mean-cli
$ mean init testApp
$ cd testApp && npm install

每当我运行gulp命令时,它都会成功启动并显示最后一行:

Mean app started on port 3000 (development) cluster.worker.id: 0
[12:09:03] index.html reloaded.

之后如果我转到localhost:3000,页面会在无限循环中重新加载并在终端上显示以下输出:

Mean app started on port 3000 enter code here`(development) cluster.worker.id: 0
[12:09:03] index.html reloaded.
GET / - - - - ms
GET / - - - - ms
GET / - - - - ms

1 个答案:

答案 0 :(得分:0)

npm上的交叉检查权限也会从root更改所有者。