Skip to content
This repository was archived by the owner on Jul 22, 2022. It is now read-only.
This repository was archived by the owner on Jul 22, 2022. It is now read-only.

npm install fails #18

@phulst

Description

@phulst

I cannot get 'npm install' to succeed in this project. I keep getting the following error:

> gulp-rails@ postinstall /Users/peter/projects/lifesizey/gulp-rails-pipeline
> gulp build

util.js:634
  ctor.prototype = Object.create(superCtor.prototype, {
                                          ^
TypeError: Cannot read property 'prototype' of undefined
    at Object.exports.inherits (util.js:634:43)
    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)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/Users/peter/projects/lifesizey/gulp-rails-pipeline/node_modules/browser-sync/node_modules/http-proxy/lib/http-proxy.js:4:17)
    at Module._compile (module.js:460:26)

npm ERR! Darwin 14.3.0
npm ERR! argv "/Users/peter/.nvm/v0.12.2/bin/node" "/Users/peter/.nvm/v0.12.2/bin/npm" "install"
npm ERR! node v0.12.2
npm ERR! npm  v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! gulp-rails@ postinstall: `gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gulp-rails@ postinstall script 'gulp build'.
npm ERR! This is most likely a problem with the gulp-rails package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp build

I 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions