#Making Prisma work with ESM

1 messages · Page 1 of 1 (latest)

whole ether
#

While migrating to V2 I tried to also migrate to ESM but I ran into issue with Prisma. Anybody got it working or are we stuck with CJS ?

knotty jetty
whole ether
#

Hot damn, how come there's no import error 😆

#

Anyway, thanks a ton!

#

Is this part of the new tutorial ?

knotty jetty
#

If you're getting import errors, check your package.json to see if it's type: module, and check your tsconfig to see how different it is from the epic stack

whole ether
#

I don't anymore