Comments (6)
Closing as this is an issue with npm v3.x
.
from nodejs-buildpack.
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.
Edited to specify buildpack version on Pivotal.
from nodejs-buildpack.
@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.
@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.
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)
- Release: nodejs-buildpack (Oct) HOT 1
- Weird no space left error when pushing nextjs app HOT 1
- nodejs_buildpack-v1_8_14 errors
- Deployment of native binary and node addon fails HOT 1
- Release: nodejs-buildpack (Nov) HOT 3
- Please keep nodejs 18.18.0 until bug in nodejs >= 18.18.2 is fixed (50263) HOT 1
- Go is downloaded multiple times HOT 2
- Release: nodejs-buildpack (Dec) HOT 1
- BOSH configured custom trusted certificate support
- Build pack fails on installing any new modules HOT 1
- Need a nginx buildpack with "stream_ssl_module" enabled
- Release: nodejs-buildpack (Jan) HOT 1
- Release: nodejs-buildpack (Feb) HOT 1
- Release: nodejs-buildpack (02-29) HOT 1
- Release: nodejs-buildpack (Mar)
- Release: nodejs-buildpack (03-14) HOT 1
- Release: nodejs-buildpack (03-28) HOT 1
- Release: nodejs-buildpack (04-11) HOT 1
- Release: nodejs-buildpack (04-25) HOT 1
- Release: nodejs-buildpack (05-30) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodejs-buildpack.