Hi, I have been trying to get a lambda deployed wi...
# typescript
w
Hi, I have been trying to get a lambda deployed with typescript using this tutorial: https://www.pulumi.com/ai/conversations/a96095d2-e507-4bd3-8a26-d23e744cba18 but I am getting this error:
*Error*: Cannot find module 'pg'
on my lambda whenever I execute it. Could someone please help me out? I have tried adding lambda layers to upload the
node_modules
directory but still not working
b
does your lambda code package include the
node_modules/
folder? You would need to install the
pg
package in your project via NPM and package it