Node version on macOS images

Historically we have installed the latest version of Node on our Xcode images, however as noted by Node:

LTS release status is "long-term support", which typically guarantees that critical bugs will be fixed for a total of 30 months. Production applications should only use Active LTS or Maintenance LTS releases.

With the above in mind, if you encounter any Node related issues, you may want to reference the Installed software for the Xcode image you are using to see the version of Node:

As some of the newer images are using non-LTS versions of Node. You may need to manually adjust the node version in your configuration file if you need a specific version. You can install and use a different version of node with the Node orb. As an example:

version: 2.1

  node: circleci/node@4.0.0

      xcode: 11.0.0
      - node/install:
          node-version: "13.11.0"

To adhere to their recommendation though, once the next LTS version is released we plan to pin all new generated Xcode images to the LTS version.

Was this article helpful?
4 out of 5 found this helpful



Article is closed for comments.