I created a NodeJs lambda function with amplify add function
. Later I wanted to change it, and I needed new libraries. I did npm install
on the libraries i needed and the node_modules
folder was generated successfully. When I did amplify push
the changes were not present in the cloud, although I have another function that I added and that one has the node_modules dir (for this one I used the dynamoDB integration when i did amplify add function
)