PrismaP
Prisma3w ago
AKASH

Build is not working

getting this error on running tsc
generated/prisma/internal/prismaNamespaceBrowser.ts:36:14 - error TS2742: The inferred type of 'DbNull' cannot be named without a reference to '.pnpm/@prisma+client-runtime-utils@7.0.1/node_modules/@prisma/client-runtime-utils'. This is likely not portable. A type annotation is necessary.

36 export const DbNull = runtime.DbNull
                ~~~~~~

generated/prisma/internal/prismaNamespaceBrowser.ts:43:14 - error TS2742: The inferred type of 'JsonNull' cannot be named without a reference to '.pnpm/@prisma+client-runtime-utils@7.0.1/node_modules/@prisma/client-runtime-utils'. This is likely not portable. A type annotation is necessary.

43 export const JsonNull = runtime.JsonNull
                ~~~~~~~~

generated/prisma/internal/prismaNamespaceBrowser.ts:50:14 - error TS2742: The inferred type of 'AnyNull' cannot be named without a reference to '.pnpm/@prisma+client-runtime-utils@7.0.1/node_modules/@prisma/client-runtime-utils'. This is likely not portable. A type annotation is necessary.

50 export const AnyNull = runtime.AnyNull
                ~~~~~~~


Found 6 errors in 2 files.

Errors  Files
     3  generated/prisma/internal/prismaNamespace.ts:114
     3  generated/prisma/internal/prismaNamespaceBrowser.ts:36
Was this page helpful?