David Turton
04/30/2020, 3:26 PMRyan
04/30/2020, 3:32 PMDavid Turton
04/30/2020, 3:33 PMDavid Turton
04/30/2020, 3:34 PM{
"errorType": "Error",
"errorMessage": "@prisma/client did not initialize yet. Please run \"prisma generate\" and try to import it again.\nIn case this error is unexpected for you, please report it in <https://github.com/prisma/prisma-client-js/issues/390>.",
"stack": [
"Error: @prisma/client did not initialize yet. Please run \"prisma generate\" and try to import it again.",
"In case this error is unexpected for you, please report it in <https://github.com/prisma/prisma-client-js/issues/390>.",
" at new PrismaClient (/var/task/node_modules/.prisma/client/index.js:3:11)",
" at Module.call (/var/task/_lumigo/webpack:/src/tasks/shouldOrderProcess.ts:3:16)",
" at t (/var/task/_lumigo/webpack:/webpack/bootstrap:19:22)",
" at Object.call (/var/task/_lumigo/webpack:/_lumigo/shouldOrderProcess.js:5:17)",
" at __webpack_require__ (/var/task/_lumigo/webpack:/webpack/bootstrap:19:22)",
" at /var/task/_lumigo/webpack:/webpack/bootstrap:83:10",
" at Object.<anonymous> (/var/task/_lumigo/shouldOrderProcess.js:1:966)",
" at Module._compile (internal/modules/cjs/loader.js:1158:30)",
" at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)",
" at Module.load (internal/modules/cjs/loader.js:1002:32)"
]
}
David Turton
04/30/2020, 3:34 PMDavid Turton
04/30/2020, 3:36 PMDavid Turton
04/30/2020, 4:13 PMRyan
05/01/2020, 6:49 AMprisma generate
is being called before running serverless deploy
• Your schema.prisma
has the following for serverless
generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "rhel-openssl-1.0.x"]
}
David Turton
05/01/2020, 12:40 PMDavid Turton
05/01/2020, 12:40 PMRyan
05/01/2020, 12:48 PMDavid Turton
05/01/2020, 12:50 PMRyan
05/01/2020, 12:52 PMwebpack.config.js
fileDavid Turton
05/01/2020, 12:55 PMDavid Turton
05/01/2020, 12:55 PMDavid Turton
05/01/2020, 12:58 PMRyan
05/01/2020, 2:07 PMDavid Turton
05/01/2020, 2:08 PMDavid Turton
05/01/2020, 2:11 PMDavid Turton
05/01/2020, 2:18 PMRyan
05/01/2020, 2:18 PMDavid Turton
05/01/2020, 3:11 PMLuke
05/10/2020, 10:49 PMDavid Turton
05/10/2020, 10:57 PMDavid Turton
05/10/2020, 10:57 PMRyan
05/11/2020, 7:57 AM