Need some help when running migration commands on .ts files #4570
abhidatta0
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I am running script to generate migrations in drizzle, I am getting this error
Basically, this is related to the automated .ts to .js transpilation due to the tsconfig (as generated on hono create)
"target": "ESNext",
"module": "NodeNext",
I found that one possible solution can be to update tsconfig.json as discussed in this issue (#3211)
However, would like to know whether this is a official solution or there is a better way
Attaching a screenshot of the ts file.
Beta Was this translation helpful? Give feedback.
All reactions