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:

  1. what default node.js runtime version if not specify anything?
  2. 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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -