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

Update Directus Project to Support Node.js Version 20 #22124

Open
vamsii777 opened this issue Apr 8, 2024 · 5 comments
Open

Update Directus Project to Support Node.js Version 20 #22124

vamsii777 opened this issue Apr 8, 2024 · 5 comments

Comments

@vamsii777
Copy link
Contributor

Describe the Improvement

Currently, the Directus project restricts compatibility to Node.js version 18, specifically version 18.17 or higher. However, considering Node.js version 20 is also in Long-Term Support (LTS) and compatible with the project's requirements, it's imperative to update the project configuration to allow Node.js version 20.

By making this tiny tweak, users will be able to utilize the latest LTS version of Node.js seamlessly with the Directus project, ensuring enhanced performance and stability while aligning with the latest standards of the Node.js ecosystem.

carbon

@br41nslug
Copy link
Member

Leaving this one open for now as i dont think there is an explicit ticket for this. But yes we are aware and have been working towards fully supporting node 20 for a while.

@rijkvanzanten
Copy link
Member

By making this tiny tweak

Not a tiny tweak. We already know isolated-vm doesn't "just work" the way you'd expect on Node 20, so we might have to update a couple things there or make sure we update the docs to warn people about the additional Node flags required to run it.

@rockey2020

This comment was marked as off-topic.

@cenfun
Copy link

cenfun commented May 2, 2024

Seems that isolated-vm project is currently in maintenance mode. It might not support Node 20 anymore, are there any alternatives?

@rijkvanzanten
Copy link
Member

@cenfun It supports node 20, but it requires a node flag to be set to run. The hope was that flag would become optional over time but it seems like that's not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 📋 Backlog
Development

No branches or pull requests

5 participants