Giter VIP home page Giter VIP logo

Comments (6)

RochesterinNYC avatar RochesterinNYC commented on July 28, 2024 1

Closing as this is an issue with npm v3.x.

from nodejs-buildpack.

cf-gitbot avatar cf-gitbot commented on July 28, 2024

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/121732075

The labels on this github issue will be updated when the story is started.

from nodejs-buildpack.

plindberg avatar plindberg commented on July 28, 2024

Edited to specify buildpack version on Pivotal.

from nodejs-buildpack.

ForestEckhardt avatar ForestEckhardt commented on July 28, 2024

@plindberg we recreated the issue and found that with node v5.11.1 if your environment doesn't have access to the git repo, the preinstall command won't run. This is not the case with v4.4.5 which is a more stable version.

Can you vendor your dependencies? that way you won't have to push your GitHub deploy keys.

We'll look into why newer versions of node don't run preinstall commands as expected.

from nodejs-buildpack.

ForestEckhardt avatar ForestEckhardt commented on July 28, 2024

@plindberg so after further research we have discovered that this is an open bug with npm v3x. Node version 5&6 use npm v3x which is why you are encountering this issue.

from nodejs-buildpack.

coryjett avatar coryjett commented on July 28, 2024

Just wondering, did you find a workaround for this? The only way we've gotten around this is by specifying an older version of NPM. You could do npm run preinstall and then npm install but not sure how you'd pull that off in Cloud Foundry.

"engines": {
"node": "^6.x",
"npm" : "2.15.5"
},

from nodejs-buildpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.