Follow this guide to migrate your Store Launchpad for B2B Manufacturing or your Store Launchpad for B2C Retail project to Node.js to version 22.
This guide outlines the steps to migrate your project to Node.js version 22.
We recommend migrating your project to leverage the latest features and improvements.
Migration steps
To migrate to the Node.js version 22, complete the following steps:
- Check if you have Node.js version 22 installed by running the following command:
node -v
. - If your version is older than 22, update it using your preferred method, such as one of the following:
- Running the
nvm
command:nvm install 22 && nvm use 22
- Downloading it from the official Node.js site
- Running the
- In your
package.json
file, update the following versions:- Backend node to
^22.0.0
- Frontend node to
>=22
- Backend node to
- Check that you are using the CLI version 2.4.3 or above. You can check the CLI version by running the following command:
frontastic --version
. - Optional: If your CLI version is below 2.4.3, update it to the latest version by running the following command:
brew upgrade frontastic-cli
. - Run the launchpad using the following command:
frontastic run
. - Check that everything runs as expected.