Mitko Tschimev
06/19/2022, 8:23 PM{
"errorType": "TypeError",
"errorMessage": "collection is not iterable",
"clientVersion": "3.6.0",
"stack": [
"TypeError: collection is not iterable",
" at keyBy (/opt/nodejs/node14/node_modules/@prisma/client/runtime/index.js:42314:21)",
" at DMMFHelper.getTypeMap (/opt/nodejs/node14/node_modules/@prisma/client/runtime/index.js:42648:17)",
" at new DMMFHelper (/opt/nodejs/node14/node_modules/@prisma/client/runtime/index.js:42545:25)",
" at new PrismaClient (/opt/nodejs/node14/node_modules/@prisma/client/runtime/index.js:49486:22)",
" at Object../apps/tipyourhero-yoga/src/app/context.ts (/var/task/main.js:160:16)",
" at __webpack_require__ (/var/task/main.js:880:41)",
" at /var/task/main.js:897:19",
" at /var/task/main.js:932:3",
" at Object.<anonymous> (/var/task/main.js:937:12)",
" at Module._compile (internal/modules/cjs/loader.js:1085:14)"
]
}
Someone has an idea what the problem is / could be?
@prisma and .prisma
are deployed as aws lambda layerMitko Tschimev
06/19/2022, 10:12 PMRichard Ward
06/21/2022, 3:05 PMRichard Ward
06/21/2022, 3:06 PMMitko Tschimev
06/21/2022, 7:13 PM