Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 28 Next »

Important!

  1. See the installation guide to determine what versions of Node.js are supported by each Profound.js release.
  2. IBM i 7.2 or higher is required for installing Node.js on IBM i.
  3. The yum opensource package manager is required for installing Node.js on IBM i.

Don't have yum?

Documentation by IBM on how to install the yum opensource package manager to an IBM i can be found here.

Installing Node.js with yum Package Manager

If yum is properly set up on your system, you can install Node.js by running the following command in a PASE shell:

yum install nodejs20

If you would like to install a different version of Node.js, you can simply replace nodejs14 with the correct version in the command.

Multiple versions of Node.js can co-exist on the same IBM i system. For instructions on selecting the system default version when multiple Node.js versions are installed, see here.

IMPORTANT - Profound.js is tested with versions of Node Package Manger (NPM) that install from the IBM yum repos. The Node.js packages include a copy of NPM that gets updated when the Node.js yum package is updated. Do not manually update or change the NPM version on the system, as this can result in installation problems.

For example, if NPM shows a message like below, DO NOT follow the steps given to update NPM:


Downgrade NPM

If you accidentally changed the version of NPM from that installed by yum, re-install Node.js to set NPM back to normal. For example, to re-install Node.js 14 w/NPM 6:

yum reinstall nodejs14

  • No labels