Comments (5)
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/108988838.
from nodejs-buildpack.
Hi @rndstr,
Thanks for asking. I'd like to better understand what you're doing, as 4.2 is supported in the latest nodejs buildpack, v1.5.3.
Are you using your CF installation's default nodejs buildpack? If so, can you reply with the output from runing cf buildpacks
?
Are you passing a git URL for a buildpack option at push time (e.g. cf push appname -b https://github.com/cloudfoundry/yada/yada
)? If so, can you provide the command line you're using?
Thanks!
from nodejs-buildpack.
Hey @flavorjones, thanks for the quick response. We are using v1.5.2 (which is supporting 4.2 as well).
$ cf buildpacks
Getting buildpacks...
buildpack position enabled locked filename
<snip>
nodejs_buildpack 5 true false nodejs_buildpack-cached-v1.5.2.zip
<snip>
I'm not providing a buildpack URL.
Here is the output where it fails finding the nodejs version:
-----> Installing binaries
engines.node (package.json): 4.2.x
engines.npm (package.json): unspecified (use default)
Resolving node version 4.2.x via semver.io...
Downloading and installing node undefined...
Downloaded []
Unable to download node undefined; does it exist?
I forgot to mention the file where the call originiates, in lib/binaries.sh. It doesn't actually call semver.io because it's cached.
If you call node lib/version_resolver.js "4.2.x"
yourself, it returns undefined, since versions.json
is out of date.
And here the output with modified engine as node 0.12.x
----> Installing binaries
engines.node (package.json): 0.12.x
engines.npm (package.json): unspecified (use default)
Resolving node version 0.12.x via semver.io...
Downloading and installing node 0.12.7...
Downloaded [file:///var/vcap/data/dea_next/admin_buildpacks/072ef887-2ba2-44c2-a72d-e9fbb604a2d3_564637e3a4adc3a4b0efc22bc801d6f3c5c7185c/dependencies/https___pivotal-buildpacks.s3.amazonaws.com_node_beta-binaries_node-0.12.7-linux-x64.tar.gz]
Using default npm version: 2.11.3
I also just stumbled upon the Coding Guidelines
If a new version of node is added to the manifest.yml it must be added to files/versions.json.
So I'll go ahead and try to create a PR
Edit: I ran out of space (?) for the bosh-lite install and run the tests, so feel free to push this yourself. I might not get around in trying to get CF running locally for a few days.
from nodejs-buildpack.
thanks @aminjam
from nodejs-buildpack.
Hey, this will be in the 1.5.4 release - expected later today
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.