madipta / offline-first

Sample offline first using Nx monorepo, React, RxDb, NestJs, Prisma, GraphQl, PostgreSql
24 stars 3 forks source link

when i run the nx serve api i got this. #2

Open skanel opened 3 years ago

skanel commented 3 years ago
ERROR in /Users/kanel/Documents/rustkhmer/blackpink/libs/services/src/donasi/donasi.service.ts(9,30):
TS2694: Namespace '"/Users/kanel/Documents/rustkhmer/blackpink/node_modules/.prisma/client/index".Prisma' has no exported member 'DonasiWhereUniqueInput'.
ERROR in /Users/kanel/Documents/rustkhmer/blackpink/libs/services/src/donasi/donasi.service.ts(18,21):
TS2694: Namespace '"/Users/kanel/Documents/rustkhmer/blackpink/node_modules/.prisma/client/index".Prisma' has no exported member 'DonasiWhereUniqueInput'.
ERROR in /Users/kanel/Documents/rustkhmer/blackpink/libs/services/src/donasi/donasi.service.ts(19,20):
TS2694: Namespace '"/Users/kanel/Documents/rustkhmer/blackpink/node_modules/.prisma/client/index".Prisma' has no exported member 'DonasiWhereInput'.
ERROR in /Users/kanel/Documents/rustkhmer/blackpink/libs/services/src/donasi/donasi.service.ts(20,22):
TS2694: Namespace '"/Users/kanel/Documents/rustkhmer/blackpink/node_modules/.prisma/client/index".Prisma' has no exported member 'DonasiOrderByInput'.
ERROR in /Users/kanel/Documents/rustkhmer/blackpink/libs/services/src/donasi/donasi.service.ts(32,29):
TS2694: Namespace '"/Users/kanel/Documents/rustkhmer/blackpink/node_modules/.prisma/client/index".Prisma' has no exported member 'DonasiCreateInput'.
ERROR in /Users/kanel/Documents/rustkhmer/blackpink/libs/services/src/donasi/donasi.service.ts(39,18):
TS2694: Namespace '"/Users/kanel/Documents/rustkhmer/blackpink/node_modules/.prisma/client/index".Prisma' has no exported member 'DonasiCreateInput'.
ERROR in /Users/kanel/Documents/rustkhmer/blackpink/libs/services/src/donasi/donasi.service.ts(40,21):
TS2694: Namespace '"/Users/kanel/Documents/rustkhmer/blackpink/node_modules/.prisma/client/index".Prisma' has no exported member 'BatchPayload'.
ERROR in /Users/kanel/Documents/rustkhmer/blackpink/libs/services/src/donasi/donasi.service.ts(48,19):
TS2694: Namespace '"/Users/kanel/Documents/rustkhmer/blackpink/node_modules/.prisma/client/index".Prisma' has no exported member 'DonasiWhereUniqueInput'.
ERROR in /Users/kanel/Documents/rustkhmer/blackpink/libs/services/src/donasi/donasi.service.ts(49,18):
TS2694: Namespace '"/Users/kanel/Documents/rustkhmer/blackpink/node_modules/.prisma/client/index".Prisma' has no exported member 'DonasiUpdateInput'.
ERROR in /Users/kanel/Documents/rustkhmer/blackpink/libs/services/src/donasi/donasi.service.ts(58,34):
TS2694: Namespace '"/Users/kanel/Documents/rustkhmer/blackpink/node_modules/.prisma/client/index".Prisma' has no exported member 'DonasiWhereUniqueInput'.
Version: typescript 4.0.5
madipta commented 3 years ago

i think the problem with yarn global as you can see at: https://github.com/prisma/prisma/issues/6398

i dont get this error on this app but i've get those kind of error on my other app (web-scraping)