I'm very glad that I came across this amazing channel! Your informal explanation makes it very easy for anybody to understand and learn new confusing concepts!
Why doesn't npm only allow fixed version from the beginning? It allows semver for flexibility and later on realised that package-lock.json is needed to pin the versions down. What a mess... Anyway, your video is still educational, do you have any suggestion for best practice?
Thanks Joe! You wouldn't want to delete package-lock.json since you could wind up with different versions of your dependencies after running npm install.
To subscribe to the channel: ruclips.net/channel/UCmOpHGj4JRWCdXhllVTZCVw
Finally found a video which actually teaches the different between them.
Glad to hear!
I like that you experimented and tested various scenarios to show us how it's working. My understanding of this topic just leveled up a bit. Thanks!
Great to hear that, thanks!
Best video to learn about this topic. You are a genius man!
Glad it was helpful!
best video on this topic.4:17 i was thinking the same and you brought that up
👍🏻👍🏻👍🏻
So grateful for this. Thanks for showing various permutations and how they work!
Glad it was helpful!
I'm very glad that I came across this amazing channel! Your informal explanation makes it very easy for anybody to understand and learn new confusing concepts!
Glad to hear! 👍🏻
Such a good explanation, thank you for clearing this all up for me!
thanks for watching!
Good explanation. I like your examples because they demonstrated semantic versioning and why it's important to have package-lock.json
Thanks for watching!
Very helpful video, thank you!
Glad it was helpful!
Very detailed and clear explanation.
Thank you.🤝
Glad it was helpful!
@TheCodeCreative can you do some peer-dependencies explanations, and ways to modify/change peer-dependencies. (e.g. "what exactly is a 'peer' ? ")
Join "The Code Creative Community" group on Facebook: facebook.com/groups/thecodecreative
Download my FREE "Google Search Secrets for Developers" Cheat Sheet:
store.thecodecreative.com/google-secrets-cheat-sheet
Thank you
Welcome!
tanq sir explaining advance Javascript topics do more videos on Javascript topics
Will do, thanks!
Why doesn't npm only allow fixed version from the beginning? It allows semver for flexibility and later on realised that package-lock.json is needed to pin the versions down. What a mess...
Anyway, your video is still educational, do you have any suggestion for best practice?
Thanks for a great explanation on package-lock.json! :D Just a small question, is it ok to delete package-lock.json?? 🧐
Thanks Joe! You wouldn't want to delete package-lock.json since you could wind up with different versions of your dependencies after running npm install.
@@TheCodeCreative what would happens if you accidentally delete it? what would be best solution to resolve that etc?
@@JoeBoo532 That would be a good reason to commit it to source control!
In case you want to update EVERYTHING to the latest (minor/patch) version, there is no problem with deleting package-lock.json. Or am I wrong?
@@AnsgarSteinkamp nope, I believe you are correct
Nice video 👍
Where's the link to the Google cheatsheet?
Thanks! Here's the link: store.thecodecreative.com/google-secrets-cheat-sheet