Anyone know why serverless doesn't upload my node modules when I deploy my Lambda function?
I have a lambda function that I want to deploy using Serverless. Unfortunately it does not upload the node modules that are dependent for my function to work!
I don't have enough context on this, but see if this makes sense.
Serverless is on-demand, yes? So, the machines are booted up on the fly. So, wouldn't that mean you should run npm install each time the function is called?
Siddarthan Sarumathi Pandian
Full Stack Dev at Agentdesks | Ex Hashnode | Ex Shippable | Ex Altair Engineering
I don't have enough context on this, but see if this makes sense.
Serverless is on-demand, yes? So, the machines are booted up on the fly. So, wouldn't that mean you should run npm install each time the function is called?