运行mean.io时遇到问题

时间:2016-07-21 13:01:59

标签: mongodb mean-stack mean.io

我的应用程序停留在GET / - - - - ms,但已经在mongo接受了连接。

当我跑步时,这是" get"之前的最后一次。在浏览器上它永远加载。我的防火墙也关闭了

Debugger listening on port 5858
Mean app started on port 3000 (development) cluster.worker.id: 0
[20:59:07] index.html reloaded.

当我尝试npm安装时出现此错误。我认为是因为这个。

meanio-admin@0.1.6 postinstall D:\Projects\mean\node_modules\meanio-admin
> bower install

accepts@1.3.3 node_modules\meanio\node_modules\errorhandler\node_modules\accepts -> node_modules\accepts
charenc@0.0.1 node_modules\meanio\node_modules\md5\node_modules\charenc -> node_modules\charenc
crypt@0.0.1 node_modules\meanio\node_modules\md5\node_modules\crypt -> node_modules\crypt
escape-html@1.0.3 node_modules\meanio\node_modules\errorhandler\node_modules\escape-html -> node_modules\escape-html
express-unless@0.3.0 node_modules\meanio\node_modules\express-jwt\node_modules\express-unless -> node_modules\express-unless
is-buffer@1.1.3 node_modules\meanio\node_modules\md5\node_modules\is-buffer -> node_modules\is-buffer
jws@3.1.3 node_modules\meanio\node_modules\jsonwebtoken\node_modules\jws -> node_modules\jws
lodash.set@4.2.0 node_modules\meanio\node_modules\express-jwt\node_modules\lodash.set -> node_modules\lodash.set
xtend@4.0.1 node_modules\meanio\node_modules\jsonwebtoken\node_modules\xtend -> node_modules\xtend
mean@0.6.1 D:\Projects\mean
├─┬ meanio-admin@0.1.6  invalid (git://github.com/linnovate/meanio-admin.git#66b03424a94cf51199ba21b5f2ac1d9eefa9e0aa)
│ ├── meanio-circles@0.1.1  (git://github.com/linnovate/meanio-circles.git#42261511e0459364b34f2dfdc0bb0bf8f03794a7)
│ └─┬ meanio-users@0.1.4  (git://github.com/linnovate/meanio-users.git#79dacf5194d2cfa1676ac5ac59066138db37f74d)
│   └── angular-jwt@0.0.9
└── meanio-system@0.1.3  invalid (git://github.com/linnovate/meanio-system.git#a1b1b2b35eec858493d3a308e56d1e2014627ed5)

    Dependencies installed for package meanStarter

> mean@0.6.1 prepublish D:\Projects\mean
> npm run snyk-protect


> mean@0.6.1 snyk-protect D:\Projects\mean
> snyk protect

The patch against "node_modules\npm\node_modules\glob\node_modules\minimatch" (npm:minimatch:20160620) failed.
Email support@snyk.io if this problem persists.
The patch against "node_modules\npm\node_modules\init-package-json\node_modules\glob\node_modules\minimatch" (npm:minimatch:20160620) failed.
Email support@snyk.io if this problem persists.
The patch against "node_modules\npm\node_modules\read-package-json\node_modules\glob\node_modules\minimatch" (npm:minimatch:20160620) failed.
Email support@snyk.io if this problem persists.
The patch against "node_modules\npm\node_modules\fstream-npm\node_modules\fstream-ignore\node_modules\minimatch" (npm:minimatch:20160620) failed.
Email support@snyk.io if this problem persists.
Successfully applied Snyk patches
meanio-circles@0.1.1 node_modules\meanio-circles

meanio-system@0.1.3 node_modules\meanio-system

meanio-users@0.1.4 node_modules\meanio-users

meanio-admin@0.1.2 node_modules\meanio-admin

你如何解决这个问题?

1 个答案:

答案 0 :(得分:0)

尝试将package.json

中的"snyk": true更改为"snyk": false

我一直在使用收缩膜包装带来问题,所以我对所有内容进行了抨击并重新安装了npm cache clean && rm -rf node_modules && rm -f npm-shrinkwrap.json

npm i && npm shrinkwrap