How can I specify multiple Node.js runtime versions in my application to deploy to Bluemix? -
in package.json
of application, can specify node version:
- what default node.js runtime version if not specify anything?
- can specify multiple node versions (say 0.10.x , 0.12.x) when deploy bluemix? or need deploy twice, 1 each version?
thanks in advance.
"engines": { "node": "^0.10.*", "node": "^0.12.*" }
thanks in advance
currently, bluemix provides 4 versions of ibm sdk node.js runtime. v0.10.21, v0.10.25, v0.10.26 , v0.10.28. these versions contain ibm enhancements , bug fixes.
you should specify node version(single) in package.json file. if don't, latest version used.
more details here:
https://www.ng.bluemix.net/docs/#starters/nodejs/index.html#deploynodejsapp
Comments
Post a Comment