{"action":"opened","issue":{"url":"https://api.github.com/repos/nfriedly/node-unblocker/issues/42","labels_url":"https://api.github.com/repos/nfriedly/node-unblocker/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/nfriedly/node-unblocker/issues/42/comments","events_url":"https://api.github.com/repos/nfriedly/node-unblocker/issues/42/events","html_url":"https://github.com/nfriedly/node-unblocker/issues/42","id":93047451,"number":42,"title":"V1.0 trouble with npm start","user":{"login":"unixabg","id":6287026,"avatar_url":"https://avatars.githubusercontent.com/u/6287026?v=3","gravatar_id":"","url":"https://api.github.com/users/unixabg","html_url":"https://github.com/unixabg","followers_url":"https://api.github.com/users/unixabg/followers","following_url":"https://api.github.com/users/unixabg/following{/other_user}","gists_url":"https://api.github.com/users/unixabg/gists{/gist_id}","starred_url":"https://api.github.com/users/unixabg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unixabg/subscriptions","organizations_url":"https://api.github.com/users/unixabg/orgs","repos_url":"https://api.github.com/users/unixabg/repos","events_url":"https://api.github.com/users/unixabg/events{/privacy}","received_events_url":"https://api.github.com/users/unixabg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-04T20:46:46Z","updated_at":"2015-07-04T20:46:46Z","closed_at":null,"body":"Greetings,\r\n\r\nTrying to install and run from git or zip download on Linux Mint 17.1 32bit , npm install appears to run ok:\r\n\r\nlmint@lmint-VirtualBox ~/scratch/node-unblocker-master/examples/nodeunblocker.com $ sudo npm install\r\nnpm WARN engine unblocker@1.0.3: wanted: {\"node\":\"0.12.x\",\"npm\":\"2.7.x\"} (current: {\"node\":\"0.12.5\",\"npm\":\"2.11.2\"})\r\nexpress@4.13.0 node_modules/express\r\n├── escape-html@1.0.2\r\n├── merge-descriptors@1.0.0\r\n├── array-flatten@1.1.0\r\n├── cookie@0.1.3\r\n├── utils-merge@1.0.0\r\n├── cookie-signature@1.0.6\r\n├── methods@1.1.1\r\n├── fresh@0.3.0\r\n├── range-parser@1.0.2\r\n├── path-to-regexp@0.1.6\r\n├── content-type@1.0.1\r\n├── etag@1.7.0\r\n├── vary@1.0.0\r\n├── parseurl@1.3.0\r\n├── content-disposition@0.5.0\r\n├── serve-static@1.10.0\r\n├── depd@1.0.1\r\n├── qs@2.4.2\r\n├── on-finished@2.3.0 (ee-first@1.1.1)\r\n├── finalhandler@0.4.0 (unpipe@1.0.0)\r\n├── debug@2.2.0 (ms@0.7.1)\r\n├── proxy-addr@1.0.8 (forwarded@0.1.0, ipaddr.js@1.0.1)\r\n├── send@0.13.0 (destroy@1.0.3, statuses@1.2.1, ms@0.7.1, mime@1.3.4, http-errors@1.3.1)\r\n├── type-is@1.6.4 (media-typer@0.3.0, mime-types@2.1.2)\r\n└── accepts@1.2.10 (negotiator@0.5.3, mime-types@2.1.2)\r\n\r\ngatling@1.1.1 node_modules/gatling\r\n└── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10)\r\n\r\nunblocker@1.0.3 node_modules/unblocker\r\n├── cookie@0.1.3\r\n├── set-cookie-parser@1.0.1\r\n├── content-type@1.0.1\r\n├── through@2.3.8\r\n├── mime@1.3.4\r\n├── tld@0.0.2\r\n├── async@1.3.0\r\n├── debug@2.2.0 (ms@0.7.1)\r\n├── iconv-lite@0.4.11\r\n└── lodash@3.10.0\r\n\r\nnewrelic@1.20.2 node_modules/newrelic\r\n\r\n\r\nHowever npm start does not fair so well:\r\nlmint@lmint-VirtualBox ~/scratch/node-unblocker-master/examples/nodeunblocker.com $ sudo npm start\r\n\r\n> nodeunblocker.com@1.0.0 start /home/lmint/scratch/node-unblocker-master/examples/nodeunblocker.com\r\n> ./node_modules/gatling/gatling.js ./app.js\r\n\r\nmodule.js:338\r\n    throw err;\r\n          ^\r\nError: Cannot find module 'through'\r\n    at Function.Module._resolveFilename (module.js:336:15)\r\n    at Function.Module._load (module.js:278:25)\r\n    at Module.require (module.js:365:17)\r\n    at require (module.js:384:17)\r\n    at Object.<anonymous> (/home/lmint/scratch/node-unblocker-master/examples/nodeunblocker.com/app.js:16:15)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Module.require (module.js:365:17)\r\n\r\nnpm ERR! Linux 3.13.0-37-generic\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"start\"\r\nnpm ERR! node v0.12.5\r\nnpm ERR! npm  v2.11.2\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! nodeunblocker.com@1.0.0 start: `./node_modules/gatling/gatling.js ./app.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the nodeunblocker.com@1.0.0 start script './node_modules/gatling/gatling.js ./app.js'.\r\nnpm ERR! This is most likely a problem with the nodeunblocker.com package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     ./node_modules/gatling/gatling.js ./app.js\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls nodeunblocker.com\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/lmint/scratch/node-unblocker-master/examples/nodeunblocker.com/npm-debug.log\r\n\r\nHere is teh output of the log file:\r\n\r\nlmint@lmint-VirtualBox ~/scratch/node-unblocker-master/examples/nodeunblocker.com $ cat /home/lmint/scratch/node-unblocker-master/examples/nodeunblocker.com/npm-debug.log\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]\r\n2 info using npm@2.11.2\r\n3 info using node@v0.12.5\r\n4 verbose run-script [ 'prestart', 'start', 'poststart' ]\r\n5 info prestart nodeunblocker.com@1.0.0\r\n6 info start nodeunblocker.com@1.0.0\r\n7 verbose unsafe-perm in lifecycle true\r\n8 info nodeunblocker.com@1.0.0 Failed to exec start script\r\n9 verbose stack Error: nodeunblocker.com@1.0.0 start: `./node_modules/gatling/gatling.js ./app.js`\r\n9 verbose stack Exit status 1\r\n9 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:213:16)\r\n9 verbose stack     at EventEmitter.emit (events.js:110:17)\r\n9 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)\r\n9 verbose stack     at ChildProcess.emit (events.js:110:17)\r\n9 verbose stack     at maybeClose (child_process.js:1015:16)\r\n9 verbose stack     at Process.ChildProcess._handle.onexit (child_process.js:1087:5)\r\n10 verbose pkgid nodeunblocker.com@1.0.0\r\n11 verbose cwd /home/lmint/scratch/node-unblocker-master/examples/nodeunblocker.com\r\n12 error Linux 3.13.0-37-generic\r\n13 error argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"start\"\r\n14 error node v0.12.5\r\n15 error npm  v2.11.2\r\n16 error code ELIFECYCLE\r\n17 error nodeunblocker.com@1.0.0 start: `./node_modules/gatling/gatling.js ./app.js`\r\n17 error Exit status 1\r\n18 error Failed at the nodeunblocker.com@1.0.0 start script './node_modules/gatling/gatling.js ./app.js'.\r\n18 error This is most likely a problem with the nodeunblocker.com package,\r\n18 error not with npm itself.\r\n18 error Tell the author that this fails on your system:\r\n18 error     ./node_modules/gatling/gatling.js ./app.js\r\n18 error You can get their info via:\r\n18 error     npm owner ls nodeunblocker.com\r\n18 error There is likely additional logging output above.\r\n19 verbose exit [ 1, true ]\r\n\r\nAny ideas?\r\nThanks."}}