Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated node version #4520

Closed
hbruch opened this issue Mar 18, 2022 · 3 comments
Closed

Outdated node version #4520

hbruch opened this issue Mar 18, 2022 · 3 comments

Comments

@hbruch
Copy link
Contributor

hbruch commented Mar 18, 2022

Digitransit-UI currently uses outdated node 10. Even for node 12, maintenance phase (=security support) ends in about 5 weeks.

To explore what needs to be done, we started branch node12

To at least get it started, we had to remove node_modules/@babel/runtime/helpers/esm/package.json, otherwise we encountered a ERR_REQUIRE_ESM. (There is hopefully better solution that that)

Does anyone have further suggestions to move forward?

@vesameskanen
Copy link
Member

vesameskanen commented Mar 21, 2022

Updating nodejs version is indeed badly needed. It seems that the update is not possible unless we update many npm libraries too and those updates involve breaking changes. One example is react-leaflet; the new map api looks quite different and adopting it will be a challenging task.

Our resources are currently tied to other issues, and we cannot start nodejs update before the autumn. However, if you find it possible to start the task in the near future, we will do our best to help in the process.

@derhuerst
Copy link
Member

As of #4607, digitransit-ui now uses Node 16.

@derhuerst
Copy link
Member

derhuerst commented Sep 22, 2022

I forgot to mention that this only applies to the node-migration branch for now, but the goal is to get it merged into v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants