我已经安装了mean堆栈,指令如下:
$ 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发布于 2016-08-04 19:01:58
npm上的交叉检查权限也会将所有者从root更改。
https://stackoverflow.com/questions/38760845
复制相似问题