so, I lost you at 3:33 unfortunately. Your terminal shows "lambda-npm" - is this just a folder you are in? Sorry, I am super new to all that stuff, but it is soo interesting. Please help me to get past it...
Hello, I have a test project made in pactumJS and I need these tests to run in a lambda, but every time I try to run the command 'npm run test' I get an error during the execution of the lambda in aws. Would you help me?
The zip file that you upload to lambda has to contain a lambda handler function. You'll need to extract the zip of the package that you downloaded, require this package from your handler and then create a new archive that contains both the handler and the package, and then upload this new archive.
Good share. Is lambda suitable for serving express, Node backend files in a mern stack application? If the website is expected to have thousands of hits to these small functions from react frontend hosted from s3. Thanks
Hi, very nice and well explained channel. I’ve got an issue. I’ve tried to search on the web but I didn’t find any solution. The terminal doesn’t recognize the zip command. Could you help me?
Not really, you can remove it. Ideally, you can also create a bundle instead of uploading all of node_modules: th-cam.com/video/FmnFqjBk0to/w-d-xo.html
You can bundle your function using a bundler such as webpack or parcel, this way the bundle will contain only the code that is actually needed. This video shows how to create a bundle and deploy it: th-cam.com/video/j0Y5gxOB8rM/w-d-xo.html (it uses typescript but will work exactly the same for js as well)
⚡️ NEW VIDEO: How to use versioning and aliases to deploy lambda functions? (/w API Gateway) th-cam.com/video/OGMaE63YgEU/w-d-xo.html
Thank you for making this video. Spent half my day trying to find a tutorial of how to do this!
BRO, you R A Rockstar!! Great presentation. Thqk you
Thank you so much for this video. It's really time saver for a beginner. Love from BHARAT (India). Keep doing great work. Happy Coding !!
Thank you. Thank you. I have gotten stuck at this for awhile now. Thank you!
Man!! Great content, clear and fast!!! Thanks a lot.
Well explained, take a look at layer to upload your nodes modules. It will make your life easier.
This was a super well done and useful video. thanks so much for making it!
Great video, well explained for a beginner..
Awesome!! Thank you so much ;-)
Much needed one.
I owe you my life. thank you
Great explanation, thanks a lot G
Thanks man it was helpful
Thanks a lot for the informative and to the point video, it was very helpful :)
Great video!! Just subscribed to the channel
so, I lost you at 3:33 unfortunately. Your terminal shows "lambda-npm" - is this just a folder you are in? Sorry, I am super new to all that stuff, but it is soo interesting. Please help me to get past it...
Yeah, 'lambda-npm' is an empty folder which we're in, at that point
How to run the terminal for lambda in windows I'm totally unaware. I don't know how to run that
Hello, I have a test project made in pactumJS and I need these tests to run in a lambda, but every time I try to run the command 'npm run test' I get an error during the execution of the lambda in aws. Would you help me?
nice vid man
Thanks, great content.
can I just download the package from github as a zip? and then uplaod that to lambda
The zip file that you upload to lambda has to contain a lambda handler function.
You'll need to extract the zip of the package that you downloaded, require this package from your handler and then create a new archive that contains both the handler and the package, and then upload this new archive.
You are so cool brother!
thanks for very informative tutorial
Great video, thank you very much!
Good share. Is lambda suitable for serving express, Node backend files in a mern stack application? If the website is expected to have thousands of hits to these small functions from react frontend hosted from s3. Thanks
Production build?
Thanks, how what about ES module and the usage of import
Check out this video th-cam.com/video/FmnFqjBk0to/w-d-xo.html
Hi, very nice and well explained channel. I’ve got an issue. I’ve tried to search on the web but I didn’t find any solution. The terminal doesn’t recognize the zip command. Could you help me?
Thank you so much!
Good post
Is there a reason to upload package.json and package-lock.json to the lambda rather than just uploading node_modules?
Not really, you can remove it. Ideally, you can also create a bundle instead of uploading all of node_modules: th-cam.com/video/FmnFqjBk0to/w-d-xo.html
Thanks much!
Really I love it dud
Thankkkkkkkkkkkkkkkkkkyou soooo muchhhhhhhhhhh!
very helpful. Thanks
Really really, thank you
Do You have any paid course on spring or React? I would gladly pay, your content is really cool 😄
how to find lambda-npm file location
What if node_modules is very large?
You can bundle your function using a bundler such as webpack or parcel, this way the bundle will contain only the code that is actually needed. This video shows how to create a bundle and deploy it: th-cam.com/video/j0Y5gxOB8rM/w-d-xo.html (it uses typescript but will work exactly the same for js as well)
@@BiteSizeAcademy Thank you
Thank you
What about layers?
I made a video about layers: th-cam.com/video/i12H4cUFudU/w-d-xo.html (if that's what you meant)