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
Hi!
I use prisma-docs-generator 0.0.6 and Prisma 2.11.0, has this error.
npx prisma generate
Environment variables loaded from /Users/tyshgc/development/tyshgc/study_prisma/starter/prisma/.env
Prisma schema loaded from prisma/schema.prisma
Error:
TypeError: mappings.filter is not a function
at getMappings (/Users/tyshgc/development/tyshgc/study_prisma/starter/node_modules/prisma-docs-generator/dist/generator/transformDMMF.js:17:10)
at Object.transformDMMF [as default] (/Users/tyshgc/development/tyshgc/study_prisma/starter/node_modules/prisma-docs-generator/dist/generator/transformDMMF.js:11:19)
at Object.onGenerate (/Users/tyshgc/development/tyshgc/study_prisma/starter/node_modules/prisma-docs-generator/dist/index.js:38:45)
at LineStream.<anonymous> (/Users/tyshgc/development/tyshgc/study_prisma/starter/node_modules/@prisma/generator-helper/dist/generatorHandler.js:13:46)
at LineStream.emit (events.js:314:20)
at addChunk (_stream_readable.js:303:12)
at readableAddChunk (_stream_readable.js:279:9)
at LineStream.Readable.push (_stream_readable.js:218:10)
at LineStream.Transform.push (_stream_transform.js:166:32)
at LineStream._pushBuffer (/Users/tyshgc/development/tyshgc/study_prisma/starter/node_modules/@prisma/generator-helper/dist/byline.js:108:23)
In getMappings() of transformDMMF.ts, The argument mappings is an object, not an array?
The text was updated successfully, but these errors were encountered:
Hi!
I use prisma-docs-generator 0.0.6 and Prisma 2.11.0, has this error.
In
getMappings()
of transformDMMF.ts, The argumentmappings
is an object, not an array?The text was updated successfully, but these errors were encountered: