I didn't expect to update my packages this way and easy. Thank you very much!
@CodinginPublic
2 жыл бұрын
You are welcome!
@tonymykhaylovsky7505
11 ай бұрын
This gives me a more structured approach to dealing with package upgrades. Makes me more calm about the approach except maybe with the major updates, but confidence will come with time :)
@CodinginPublic
11 ай бұрын
Glad it was a help!
@InglesporMinutoconAnthonyMartz
Жыл бұрын
bro you saved me from depression , hahah. I had been stuck for a week with my project throwing all kinds of errors "for no reason", since i hadn't done anything to break my code. I had no idea that npm packages would outdated and throw all these errors. thank you.
@CodinginPublic
Жыл бұрын
So glad it was a help! Thanks for saying something!
@cjtay
2 жыл бұрын
I have been waiting for this video all along! Cleared all my doubts!
@CodinginPublic
2 жыл бұрын
🙌🏼 glad to hear!
@tyler785
Жыл бұрын
Is it weird to say I love you? This was awesome! Thanks for the info!
@CodinginPublic
Жыл бұрын
That escalated quickly! Ha! You're welcome
@joweltisso7365
7 ай бұрын
Thank you so much, I was exactly looking for this. Please keep it up
@CodinginPublic
7 ай бұрын
Glad it was a help!
@Etheriiss
2 жыл бұрын
Coming from Shaun channel, leaving a sub :) Great content :)
@CodinginPublic
2 жыл бұрын
Thanks for the kind words. Hope you keep enjoying the content!
@pushpanjalisingh9695
2 жыл бұрын
Very helpful video and explained in easy way
@CodinginPublic
2 жыл бұрын
Glad you enjoyed it! Thanks for saying something!
@lukecartwright613
2 жыл бұрын
Very helpful! Thank you for sharing! Great channel! Incredible content
@CodinginPublic
2 жыл бұрын
You’re welcome! Glad you’re enjoying the channel!
@sarthaktrip99
2 жыл бұрын
great video, this is the easiest way to fix package.json dependencies! We literally spent a whole day fixing 108 dependencies, dependabot auto update is the other way but this is surely the best way to fix dependencies! Thanks again!
@CodinginPublic
2 жыл бұрын
You’re welcome! Glad it was a help!
@joaolucasmenegasso3860
2 жыл бұрын
Bro you just make my project work! Thank you
@CodinginPublic
2 жыл бұрын
Awesome! Thanks for letting me know. Made my day
@gosnooky
7 ай бұрын
One thing to be mindful of are peer dependency requirements if you have some framework that relies on you to install stuff it needs (instead of the package itself installing a dependency directly). There can be issues arising from conflicts of poorly-authored peer requirements. An example is in NestJS, where say, you're on version 9, but a third-party package offering a NestJS plugin for some SaaS or whatever requires NestJS versions 7 to 9. This is fine until you upgrade Nest to 10, then the peer dependencies won't resolve because your version is too new, even though in a vast majority of cases it will work just fine. I had this issue with a RabbitMQ NestJS binding that didn't account for the new version, and I could not upgrade the rest to v10 because of that one package until the author updated it. NPM unresolved dependencies are a nightmare to deal with.
@CodinginPublic
7 ай бұрын
Great point!
@irfanmohammad7269
7 ай бұрын
From react 16.5 to 18 it was my major jump
@CodinginPublic
7 ай бұрын
Wow!
@abuharis421
6 ай бұрын
bro, you fucking saving my lifeeee! frfr 😭😭😭
@CodinginPublic
6 ай бұрын
Here for you!
@DaveMacpherson
2 жыл бұрын
Shawn said subscribe, so here I am 😊
@CodinginPublic
2 жыл бұрын
lol I listen to everything he says, too! 🙌 hope to make it worth your while here :)
@bodaravindar9744
5 ай бұрын
After updating npm dependencies my websites hero section is no more responsive (tailwind css used) dont know what to do it broke my website.
@maxvegra4628
Жыл бұрын
this is an amazing way man! love the way you teaching! well, I learned how to get the deal done! amazing. and what about the Vulnerabilities ! are they important? cuz I did audit fix and --force but didn't effected!
@CodinginPublic
Жыл бұрын
They can be important, but it’s nothing you can really fix. It’s up to the packages. So it’s mostly fine to ignore them. Obviously you’re responsible to check out the error if you’re concerned. But that’s most what I do :)
@maxvegra4628
Жыл бұрын
@@CodinginPublic really thanks! I was concerned for two days how to fix them! And now I got it. Thanks man! Best of luck, peace ✌️
@hcx1853
2 жыл бұрын
Is running ‘npm outdated’ comparable to ‘npx ncu’? It would negate the need to install a redundant package.
@CodinginPublic
2 жыл бұрын
I think it’s mostly preference. NPX would bypass that install though, so feel free to stick with that.
@jackpitts5561
5 ай бұрын
Coulnd't figure out how to install npu?? Safe to download this? What is it? Honestly just want to learn how to update ONE SINGLE dependency in list of package.json dependencies. That shouldn't be hard, but is.
@anj000
7 ай бұрын
How is it different form runing npm outdated and then npm update or npm install specyfic version?
@CodinginPublic
6 ай бұрын
I do believe npm has added some update functionality, but since I'm mostly using PNPM these days, I haven't looked into it. It's very possible that ncu is no longer needed.
@amershboul9107
Жыл бұрын
Thank you! 👏❤
@CodinginPublic
Жыл бұрын
You’re welcome! I didn't know this at the time, but in more recent versions of NPM there’s actually an update command built in. It’s just `npm update` you can also add the --dry-run tag to see what it WOULD have done. May be more to it than that, but I've since moved over to using PNPM, so I haven't looked carefully :)
@siddiqahmed3274
2 жыл бұрын
hey, what platform do you use for posting blogs? is it custom build? if it is then please share the tech stack you used...
@CodinginPublic
2 жыл бұрын
I've mostly used Hugo for static site blogs, but I'm planning on moving over to Astro to be able to incorporate some React components when needed. Mostly published to Netlify or Vercel.
@felipegutierrez2944
2 жыл бұрын
Shawn send me here, you have awesome content!
@CodinginPublic
2 жыл бұрын
🙏🏼 thanks so much!
@marekkarasz3776
Жыл бұрын
literarly nothing works . keep having error with every commands that you type in . either I don't have permissions or the package has been depricated or the program is outdated!!!!!!
@CodinginPublic
Жыл бұрын
Hmm…it's still working for me. Feel free to pass along the errors your getting and I'm happy to help if I can.
@swojchwat
Жыл бұрын
I need to update some of packages from version 8.x.x to 15 !!! and even patch update brakes some dependencies
Пікірлер: 59