Skip to content
New issue

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

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

Already on GitHub? # to your account

gen types: 'assert' is deprecated in import statements #3239

Open
tmountain opened this issue Mar 3, 2025 · 0 comments
Open

gen types: 'assert' is deprecated in import statements #3239

tmountain opened this issue Mar 3, 2025 · 0 comments

Comments

@tmountain
Copy link
Contributor

tmountain commented Mar 3, 2025

Describe the bug

As of the 2.15.8 release, we are getting this error when generating types from a clean Github CI/CD workflow.

❯ npx supabase gen types typescript --local > database.types.ts
Connecting to db 5432
(node:1) V8: file:///usr/src/app/dist/server/app.js:8 'assert' is deprecated in import statements and support will be removed in a future version; use 'with' instead

To Reproduce
Steps to reproduce the behavior:

❯ node --version
v20.5.1

❯ npx supabase gen types typescript --local > database.types.ts

Expected behavior

The command completes without generating an error.

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

No branches or pull requests

1 participant