I built a project on an old version of node and they have updated it, When I try running the project there's an error
I built a project on an old version of node and they have updated it, When I try running the project there's an error
It is difficult to give you a definite answer without more details but this looks like a problem that could also be caused by a newer version of a package introducing changes that are not backwards compatible.
You need to find out what the specific package is that makes major changes in a new version (e.g node-fetch 2.x to 3.x) and either edit your package.json file to specify the latest version of that package compatible with your code, or if you want to upgrade then make the necessary changes.