SeekTheError
02/04/2021, 2:38 PM(...) /webpack:/libs/data/src/generated/client/index.js:21
const debug = debugLib('prisma-client')
^
TypeError: debugLib is not a function
The prisma dependencies I have installed in my package.json are:
"@prisma/client": "2.16",
"prisma": "^2.16.0",
and my schema.prisma generator config is:
generator client {
provider = "prisma-client-js"
output = "./generated/client"
previewFeatures = ["nativeTypes"]
binaryTargets = ["native", "rhel-openssl-1.0.x"]
}
Please let me know if I should ask about this somewhere else.
Thanks a lotJoël
npx prisma -v
to check the versions?SeekTheError
02/04/2021, 2:54 PMremi$ npx prisma -v
Environment variables loaded from .env
prisma : 2.16.0
@prisma/client : 2.16.0
Current platform : darwin
Query Engine : query-engine 854c8ba7f0dce66f115af36af24e66989a8c02a1 (at node_modules/@prisma/engines/query-engine-darwin)
Migration Engine : migration-engine-cli 854c8ba7f0dce66f115af36af24e66989a8c02a1 (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine : introspection-core 854c8ba7f0dce66f115af36af24e66989a8c02a1 (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary : prisma-fmt 854c8ba7f0dce66f115af36af24e66989a8c02a1 (at node_modules/@prisma/engines/prisma-fmt-darwin)
Studio : 0.346.0
Joël
SeekTheError
02/04/2021, 3:13 PM