Module not found errors after switching to 6.7.0 rust free pg
Hi, I keep getting these errors when using the new rust free pg version of Prisma:
Any idea how I can fix this?
Thanks!
⨯ ./lib/generated/prisma/client.ts:21:1
Module not found: Can't resolve './enums.js'
19 | import * as Prisma from "./internal/prismaNamespace.js"
20 |
> 21 | export * as $Enums from './enums.js'
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22 | /**
23 | * ## Prisma Client
24 | *
https://nextjs.org/docs/messages/module-not-found
./lib/generated/prisma/client.ts:18:1
Module not found: Can't resolve './internal/class.js'
16 | import * as runtime from "@prisma/client/runtime/client"
17 | import * as $Enums from "./enums.js"
> 18 | import * as $Class from "./internal/class.js"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19 | import * as Prisma from "./internal/prismaNamespace.js"
20 |
21 | export * as $Enums from './enums.js'
https://nextjs.org/docs/messages/module-not-found
./lib/generated/prisma/client.ts:19:1
Module not found: Can't resolve './internal/prismaNamespace.js'
17 | import * as $Enums from "./enums.js"
18 | import * as $Class from "./internal/class.js"
> 19 | import * as Prisma from "./internal/prismaNamespace.js"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 |
21 | export * as $Enums from './enums.js'
22 | /**
https://nextjs.org/docs/messages/module-not-found ⨯ ./lib/generated/prisma/client.ts:21:1
Module not found: Can't resolve './enums.js'
19 | import * as Prisma from "./internal/prismaNamespace.js"
20 |
> 21 | export * as $Enums from './enums.js'
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22 | /**
23 | * ## Prisma Client
24 | *
https://nextjs.org/docs/messages/module-not-found
./lib/generated/prisma/client.ts:18:1
Module not found: Can't resolve './internal/class.js'
16 | import * as runtime from "@prisma/client/runtime/client"
17 | import * as $Enums from "./enums.js"
> 18 | import * as $Class from "./internal/class.js"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19 | import * as Prisma from "./internal/prismaNamespace.js"
20 |
21 | export * as $Enums from './enums.js'
https://nextjs.org/docs/messages/module-not-found
./lib/generated/prisma/client.ts:19:1
Module not found: Can't resolve './internal/prismaNamespace.js'
17 | import * as $Enums from "./enums.js"
18 | import * as $Class from "./internal/class.js"
> 19 | import * as Prisma from "./internal/prismaNamespace.js"
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 |
21 | export * as $Enums from './enums.js'
22 | /**
https://nextjs.org/docs/messages/module-not-foundAny idea how I can fix this?
Thanks!