{"action":"created","issue":{"url":"https://api.github.com/repos/vigetlabs/gulp-rails-pipeline/issues/18","labels_url":"https://api.github.com/repos/vigetlabs/gulp-rails-pipeline/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/vigetlabs/gulp-rails-pipeline/issues/18/comments","events_url":"https://api.github.com/repos/vigetlabs/gulp-rails-pipeline/issues/18/events","html_url":"https://github.com/vigetlabs/gulp-rails-pipeline/issues/18","id":70330315,"number":18,"title":"npm install fails","user":{"login":"phulst","id":475234,"avatar_url":"https://avatars.githubusercontent.com/u/475234?v=3","gravatar_id":"","url":"https://api.github.com/users/phulst","html_url":"https://github.com/phulst","followers_url":"https://api.github.com/users/phulst/followers","following_url":"https://api.github.com/users/phulst/following{/other_user}","gists_url":"https://api.github.com/users/phulst/gists{/gist_id}","starred_url":"https://api.github.com/users/phulst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phulst/subscriptions","organizations_url":"https://api.github.com/users/phulst/orgs","repos_url":"https://api.github.com/users/phulst/repos","events_url":"https://api.github.com/users/phulst/events{/privacy}","received_events_url":"https://api.github.com/users/phulst/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-23T07:04:58Z","updated_at":"2015-04-23T22:19:02Z","closed_at":null,"body":"I cannot get 'npm install' to succeed in this project. I keep getting the following error: \r\n\r\n```\r\n> gulp-rails@ postinstall /Users/peter/projects/lifesizey/gulp-rails-pipeline\r\n> gulp build\r\n\r\nutil.js:634\r\n  ctor.prototype = Object.create(superCtor.prototype, {\r\n                                          ^\r\nTypeError: Cannot read property 'prototype' of undefined\r\n    at Object.exports.inherits (util.js:634:43)\r\n    at Object.<anonymous> (/Users/peter/projects/lifesizey/gulp-rails-pipeline/node_modules/browser-sync/node_modules/http-proxy/lib/http-proxy/index.js:108:17)\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    at require (module.js:384:17)\r\n    at Object.<anonymous> (/Users/peter/projects/lifesizey/gulp-rails-pipeline/node_modules/browser-sync/node_modules/http-proxy/lib/http-proxy.js:4:17)\r\n    at Module._compile (module.js:460:26)\r\n\r\nnpm ERR! Darwin 14.3.0\r\nnpm ERR! argv \"/Users/peter/.nvm/v0.12.2/bin/node\" \"/Users/peter/.nvm/v0.12.2/bin/npm\" \"install\"\r\nnpm ERR! node v0.12.2\r\nnpm ERR! npm  v2.7.4\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! gulp-rails@ postinstall: `gulp build`\r\nnpm ERR! Exit status 1\r\nnpm ERR!\r\nnpm ERR! Failed at the gulp-rails@ postinstall script 'gulp build'.\r\nnpm ERR! This is most likely a problem with the gulp-rails package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     gulp build\r\n```\r\n\r\nI have tried with various versions of node 0.10, 0.11 and 0.12 but always get the same error. Any suggestions on how to resolve this? Googling around got me nowhere... thanks\r\n"},"comment":{"url":"https://api.github.com/repos/vigetlabs/gulp-rails-pipeline/issues/comments/95734167","html_url":"https://github.com/vigetlabs/gulp-rails-pipeline/issues/18#issuecomment-95734167","issue_url":"https://api.github.com/repos/vigetlabs/gulp-rails-pipeline/issues/18","id":95734167,"user":{"login":"joeswann","id":4190380,"avatar_url":"https://avatars.githubusercontent.com/u/4190380?v=3","gravatar_id":"","url":"https://api.github.com/users/joeswann","html_url":"https://github.com/joeswann","followers_url":"https://api.github.com/users/joeswann/followers","following_url":"https://api.github.com/users/joeswann/following{/other_user}","gists_url":"https://api.github.com/users/joeswann/gists{/gist_id}","starred_url":"https://api.github.com/users/joeswann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joeswann/subscriptions","organizations_url":"https://api.github.com/users/joeswann/orgs","repos_url":"https://api.github.com/users/joeswann/repos","events_url":"https://api.github.com/users/joeswann/events{/privacy}","received_events_url":"https://api.github.com/users/joeswann/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T22:19:01Z","updated_at":"2015-04-23T22:19:01Z","body":"Can confirm this also works with:\r\n\"browser-sync\": \"~2.4.0\","}}