I am building an ember application and then packaging it into a WAR file for deployment to a liberty runtime.
The ember build process warns me that ember-cli will cease to work with node v0.10.29 and recommends using node 0.12.
Can I use a different version of Node in the: DevOps Services, build step 'npm' builder type?
Future versions of Ember CLI will not support v0.10.29. Please update to Node 0.12 or io.js. version: 0.2.7 1.13.8
Could not find watchman, falling back to NodeWatcher for file system events. Visit http://www.ember-cli.com/#watchman for more info. BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.Building..Building...BuildingBuilding.(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral. (node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral. ... (repeated node warnings) ... (node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.
RangeError: Maximum call stack size exceeded Build step 'Execute shell' marked build as failure Finished: FAILURE
v0.10.29 is the only version of node that exists on the build image. In order to use a different version the user must download it. Here is an example script of how to do that
What node version did you specify in your
package.json
? Bluemix supports all currently available node versions, look at the docs under "Node.js runtime versions" for more information. Go ahead and specify the needed version in yourpackage.json
as anengines
property and you should be fine.