Тёмный

How to install npm modules in AWS Lambda? 

BiteSize Academy
Подписаться 4,6 тыс.
Просмотров 54 тыс.
50% 1

⚡️ Blog post: www.undefinedapps.com/post/in...
In this video we take a look at how to install, add and use node library dependencies that we install using npm (node package manager)
⭐️ Subscribe for more content: newsletter.undefinedapps.com/
#Lambda #npm #nodejs

Наука

Опубликовано:

 

10 апр 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 54   
@BiteSizeAcademy
@BiteSizeAcademy 2 года назад
⚡️ NEW VIDEO: How to use versioning and aliases to deploy lambda functions? (/w API Gateway) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-OGMaE63YgEU.html
@FaVeritas
@FaVeritas 4 года назад
Thank you for making this video. Spent half my day trying to find a tutorial of how to do this!
@Hackenbaker
@Hackenbaker 3 года назад
Man!! Great content, clear and fast!!! Thanks a lot.
@shivanishivu1692
@shivanishivu1692 3 года назад
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 !!
@hollyjo161821
@hollyjo161821 3 года назад
Thank you. Thank you. I have gotten stuck at this for awhile now. Thank you!
@zachholub9210
@zachholub9210 3 года назад
This was a super well done and useful video. thanks so much for making it!
@justinmeskan4410
@justinmeskan4410 Год назад
BRO, you R A Rockstar!! Great presentation. Thqk you
@sharanbiradar9933
@sharanbiradar9933 4 года назад
Awesome!! Thank you so much ;-) Much needed one.
@vini_lla07
@vini_lla07 3 года назад
Thanks a lot for the informative and to the point video, it was very helpful :)
@matictv5418
@matictv5418 4 года назад
thanks for very informative tutorial
@diegocisne
@diegocisne Год назад
Great explanation, thanks a lot G
@0oOggGyyY
@0oOggGyyY 3 года назад
Great video, thank you very much!
@manshalkhatri9289
@manshalkhatri9289 6 месяцев назад
Thanks man it was helpful
@zelaTVV
@zelaTVV Год назад
Well explained, take a look at layer to upload your nodes modules. It will make your life easier.
@Hackenbaker
@Hackenbaker 2 года назад
Thanks, great content.
@Giiven_Siisanda
@Giiven_Siisanda 3 месяца назад
Great video, well explained for a beginner..
@mujtababasheer9773
@mujtababasheer9773 4 года назад
very helpful. Thanks
@ivanfranciscojara6071
@ivanfranciscojara6071 3 года назад
Really really, thank you
@trevva23
@trevva23 3 года назад
Thank you so much!
@anantgarg8725
@anantgarg8725 7 дней назад
I owe you my life. thank you
@chriswalker1073
@chriswalker1073 Год назад
Great video!! Just subscribed to the channel
@kensol123
@kensol123 Год назад
nice vid man
@rebdawi2002
@rebdawi2002 2 года назад
You are so cool brother!
@nghebao21
@nghebao21 Год назад
Good post
@IWantSoundKnowledge
@IWantSoundKnowledge 2 года назад
Thanks much!
@danielsquitt151589
@danielsquitt151589 3 года назад
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?
@alien-web
@alien-web 4 месяца назад
Really I love it dud
@shanmugam9520
@shanmugam9520 2 года назад
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
@user-ug6bj5yy7k
@user-ug6bj5yy7k Год назад
Thank you
@inteligenciamilgrau
@inteligenciamilgrau Год назад
Thankkkkkkkkkkkkkkkkkkyou soooo muchhhhhhhhhhh!
@codigosimple1989
@codigosimple1989 2 года назад
Do You have any paid course on spring or React? I would gladly pay, your content is really cool 😄
@sonao111
@sonao111 Год назад
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?
@adamzerner5208
@adamzerner5208 3 года назад
Is there a reason to upload package.json and package-lock.json to the lambda rather than just uploading node_modules?
@BiteSizeAcademy
@BiteSizeAcademy 2 года назад
Not really, you can remove it. Ideally, you can also create a bundle instead of uploading all of node_modules: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FmnFqjBk0to.html
@maalejful
@maalejful 2 года назад
Thanks, how what about ES module and the usage of import
@BiteSizeAcademy
@BiteSizeAcademy 2 года назад
Check out this video ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FmnFqjBk0to.html
@sadekhossain9566
@sadekhossain9566 Год назад
Production build?
@thinq5339
@thinq5339 Год назад
How to run the terminal for lambda in windows I'm totally unaware. I don't know how to run that
@danmantyla3315
@danmantyla3315 3 года назад
can I just download the package from github as a zip? and then uplaod that to lambda
@BiteSizeAcademy
@BiteSizeAcademy 3 года назад
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.
@alexsoul247
@alexsoul247 2 года назад
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...
@BiteSizeAcademy
@BiteSizeAcademy 2 года назад
Yeah, 'lambda-npm' is an empty folder which we're in, at that point
@imusamakhalid
@imusamakhalid 3 года назад
What if node_modules is very large?
@BiteSizeAcademy
@BiteSizeAcademy 3 года назад
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: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-j0Y5gxOB8rM.html (it uses typescript but will work exactly the same for js as well)
@imusamakhalid
@imusamakhalid 3 года назад
@@BiteSizeAcademy Thank you
@AndrewRusinas
@AndrewRusinas 3 года назад
What about layers?
@BiteSizeAcademy
@BiteSizeAcademy 3 года назад
I made a video about layers: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-i12H4cUFudU.html (if that's what you meant)
@Tracywang6524
@Tracywang6524 4 месяца назад
how to find lambda-npm file location
Далее
Resize Images with Node.js and AWS Lambda (and S3)
13:12
AWS SAM Tutorial (with a Lambda Example!)
19:23
Просмотров 134 тыс.
skibidi toilet 76 (part 1)
03:10
Просмотров 13 млн
How to use layers with Lambda functions?
8:54
Просмотров 39 тыс.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Просмотров 72 тыс.
GO without SERVERS? How to Deploy Go to Lambda
15:47
Просмотров 16 тыс.
How to deploy a lambda function using github actions?
15:09
Acer Predator Тараканьи Бега!
1:00
Просмотров 224 тыс.
Сравнили apple и xiaomi!
0:21
Просмотров 32 тыс.