Videos
Hello everyone i wanted to update react project node version from 16.13.2 to 22.9.0. With that i need to check for all the libraries if any got affected because of that and not working properly. Can anyone please suggest any resources or if anyone have idea then help would be appreciate. This is my spike story so i wanted to create a documentation and check if any libraries affect and all
What version of Node do you currently use? Right now I am using the latest iteration of Node 18, mainly for compatibility reasons. I am thinking about switching over to Node 20 or Node 22...Is it worth switching over?
Our application is built upon Vue, Nunjucks, Express and around 80 other dependencies. Around 30 packages have been deprecated. It’s a live application with around 15 million daily viewers. Currently the application is built upon Node 14.x version and they haven’t upgrade the Node for a few years.
Now they have delegated the task to me to upgrade the application to Node 20.x.
Tbh, I’m a bit overwhelmed since the tech debt is massive and currently I’m the only one working on it, so I need your help to figure our the correct direction from which to approach this task.
So, far I could figure two possible approaches:
To install node 20.x in the local using nvm and the npm install, then run npm build and troubleshoot all the build errors one by one.
To start from an empty folder with node 20.x and start migrating few files at a time by removing most features and then adding stuff bit by bit to make the application work at the simplest level and then build upon it.
Please suggest the correct approach for handling this task.
Thanks!