Migrate your store launchpads to Node.js version 22
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
- Install the latest version of the Frontastic CLI by running the following commands:
brew unlink frontastic-cli
brew install frontastic-cli-pre
- Run the launchpad using the following command:
frontastic run --skipNodeJsVersionCheck
. - Check that everything runs as expected.