FastStore now supports Node.js 18 #2079
Unanswered
hellofanny
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
FastStore has introduced support for Node.js 18, and by December 13th, 2023, all stores will automatically transition to Node.js 18. To prepare for this transition, you can enable this feature in your store and conduct initial testing.
What has changed?
Previously, the default Node.js version for the FastStore pipeline was Node.js 14, which couldn't leverage the improvements of the latest Node.js versions. With this update, FastStore now fully supports Node.js 18. However, this update will be automatically applied to all stores only on December 13th.
The introduction of Node.js 18 aims to provide greater stability, improved store performance, and reduced latency for the platform and FastStore users. Internal tests have shown approximately 40% less latency and increased efficiency for FastStore stores using Node.js 18.
What needs to be done?
To try this change beforehand, set the experimental flag in your code. To do so, open your FastStore project code and follow the steps below:
Create a new branch for testing.
Open your store configuration file, which is store.config.js for FastStore v1 and faststore.config.js for FastStore v2.
Set the experimental flag as follows:
🎉 Once you have merged to the main branch, your store will be updated with Node.js 18.
This discussion was created from the release https://developers.vtex.com/updates/release-notes/2023-10-20-faststore-now-supports-node-18
Beta Was this translation helpful? Give feedback.
All reactions