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

Node >= 20.11.0 required for import.meta.dirname #2961

Closed
csnate opened this issue Jan 16, 2025 · 2 comments
Closed

Node >= 20.11.0 required for import.meta.dirname #2961

csnate opened this issue Jan 16, 2025 · 2 comments
Assignees

Comments

@csnate
Copy link

csnate commented Jan 16, 2025

Is your feature request related to a problem? Please describe.

When upgrading to v8, I ran into a small hiccup with an app that was using @tsed/swagger. In the constants file there is a reference to import.meta.dirname. This value is only available with Node versions > v21.2.0, v20.11.0 (reference). I just happened to be running Node 20.10.0 and this caused the app not to start.

Describe the solution you'd like

Add somewhere on the docs site, maybe under https://tsed.dev/introduction/migrate-from-v7.html or https://tsed.dev/introduction/getting-started.html or note about minimum required Node versions? Maybe this already exists and I couldn't find it?

Describe alternatives you've considered

No response

Additional context

No response

Acceptance criteria

No response

@Romakita
Copy link
Collaborator

Romakita commented Jan 17, 2025

Release is on going for the doc ;) thank @csnate !

Copy link

🎉 Are you happy?

If you appreciated the support, know that it is free and is carried out on personal time ;)

A support, even a little bit makes a difference for me and continues to bring you answers!

github opencollective

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

No branches or pull requests

2 participants