You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Working through this tutorial, where the steps are:
1.npm i -D prisma
2. npx prisma init
3. npx prisma db push
4. npx prisma studio <- error in this step
Installing prisma client fixes the issue but this is unexpected behavior. Because running db push should install prisma client
Prisma version (prisma -v or npx prisma -v):
prisma : 2.24.1
@prisma/client : Not found
Current platform : darwin
Query Engine : query-engine 18095475d5ee64536e2f93995e48ad800737a9e4 (at node_modules/@prisma/engines/query-engine-darwin)
Migration Engine : migration-engine-cli 18095475d5ee64536e2f93995e48ad800737a9e4 (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine : introspection-core 18095475d5ee64536e2f93995e48ad800737a9e4 (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary : prisma-fmt 18095475d5ee64536e2f93995e48ad800737a9e4 (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash : 18095475d5ee64536e2f93995e48ad800737a9e4
Studio : 0.397.0
Logs from Developer Tools Console or Command line, if any:
Unable to get DMMF from Prisma Client: Error: Cannot find module '@prisma/client'
Require stack:
- /Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.resolve (internal/modules/cjs/helpers.js:94:19)
at eval (eval at resolvePrismaClient (/Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js:110600:75), <anonymous>:1:9)
at PCW.resolvePrismaClient (/Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js:110600:75)
at PCW.getDMMF (/Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js:110427:41)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async PrismaService.respond (/Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js:110692:50)
at async /Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js:110867:35 {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js'
]
}
reproduction.mp4
The text was updated successfully, but these errors were encountered:
Working through this tutorial, where the steps are:
1.npm i -D prisma 2. npx prisma init 3. npx prisma db push 4. npx prisma studio <- error in this step
Installing prisma client fixes the issue but this is unexpected behavior. Because running db push should install prisma client
Prisma version (prisma -v or npx prisma -v):
prisma : 2.24.1
@prisma/client : Not found
Current platform : darwin
Query Engine : query-engine 18095475d5ee64536e2f93995e48ad800737a9e4 (at node_modules/@prisma/engines/query-engine-darwin)
Migration Engine : migration-engine-cli 18095475d5ee64536e2f93995e48ad800737a9e4 (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine : introspection-core 18095475d5ee64536e2f93995e48ad800737a9e4 (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary : prisma-fmt 18095475d5ee64536e2f93995e48ad800737a9e4 (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash : 18095475d5ee64536e2f93995e48ad800737a9e4
Studio : 0.397.0
Logs from Developer Tools Console or Command line, if any:
Unable to get DMMF from Prisma Client: Error: Cannot find module '@prisma/client'
Require stack:
- /Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.resolve (internal/modules/cjs/helpers.js:94:19)
at eval (eval at resolvePrismaClient (/Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js:110600:75), <anonymous>:1:9)
at PCW.resolvePrismaClient (/Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js:110600:75)
at PCW.getDMMF (/Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js:110427:41)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async PrismaService.respond (/Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js:110692:50)
at async /Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js:110867:35 {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/m-abdelwahab/Desktop/prisma-with-supabase/node_modules/prisma/build/index.js'
]
}
Working through this tutorial, where the steps are:
1.
npm i -D prisma
2.
npx prisma init
3.
npx prisma db push
4.
npx prisma studio
<- error in this stepInstalling prisma client fixes the issue but this is unexpected behavior. Because running
db push
should install prisma clientprisma -v
ornpx prisma -v
):reproduction.mp4
The text was updated successfully, but these errors were encountered: