Replies: 1 comment 6 replies
-
Hello! Can you share a repo with a minimal reproduction? This line works fine with the typescript example |
Beta Was this translation helpful? Give feedback.
6 replies
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.
-
Hi! I am building a site with dynamic API routes. These routes connect to a database using Typeorm. The server crashes when I use import statements, like this:
I am not using a custom server, and my understanding is that NextJS would transpile the code so that
require
-statements are not necessary.Does anyone know of an explanation? Thanks for any help! 😄
Olav
Beta Was this translation helpful? Give feedback.
All reactions