when trying npm install
exact package.json
, npm hangs , becomes totally unreponsive.
{ "name": "my project", "description": "my project", "version": "1.0.0", "private": true, "main": "server.js", "dependencies": { "body-parser": "^1.15.2", "compression": "^1.6.2", "cors": "^2.8.0", "loopback": "^2.31.0", "loopback-boot": "^2.21.0", "loopback-component-explorer": "^2.5.0", "loopback-connector-mysql": "^2.3.0", "loopback-connector-redis": "^0.0.3", "loopback-datasource-juggler": "^2.50.0", "loopback-ds-timestamp-mixin": "^3.4.0", "mosca": "^2.1.0", "mqtt": "^1.14.1", "q": "^1.4.1", "redis": "^2.6.2", "serve-favicon": "^2.3.0", "socket.io": "^1.4.8", "socketio-auth": "0.0.5" }, "devdependencies": { "grunt": "^1.0.1", "grunt-contrib-concat": "^1.0.1", "grunt-contrib-jshint": "^1.0.0", "grunt-contrib-uglify": "^2.0.0", "grunt-docular": "^0.2.4", "grunt-loopback-sdk-angular": "^1.2.0", "jshint": "^2.9.3" }, "scripts": { "start": "node .", "pretest": "jshint ." } }
i tested on different clients, both using npm version 3.10.6 , node v6.5.0. i'm pretty sure worked days ago, now, refuses complete. tried npm cache clean
, tried lowering maxsockets
down 1, waiting 20-30 minutes , tried remove packages packages.json
, finding culprit it's hit , miss. example, "mosca" alone makes npm hang, when removed package.json
, still won't finish.
the last message see it's:
[ .....] - extract:socketio-auth: sill doparallel extract 852
and nothing. doesn't give error, when setting logging level silly. hangs forever. don't understand , i'm pretty sure working day ago. can me? package.json
work you?
i't known npm bug, still open... :-(
i'd rollback npm 6.4 (which #13782 bug free), till it's fixed...
Comments
Post a Comment