:wave: has anyone experienced problems with Seed a...
# seed
b
👋 has anyone experienced problems with Seed and Lambda layers, specifically Prisma
Copy code
new lambda.LayerVersion(this, 'PrismaLayer', {
     code: lambda.Code.fromAsset(`${SRC_PATH}/.build/layers/prisma-client`),
   }),
It worked locally when we’ve developed/deployed but when put into seed it started giving
Copy code
(node:1864) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/tmp/seed/source/.build/cdk.out/asset.3635ad38e4f7a6e944ce6456880322b437d0ac2a9e8767e690534c1de0123282/nodejs/node_modules/@prisma/client/node_modules/.bin/prisma'
Thanks!
f
Hey Branko, can you DM me a link to the build?