What is NPM's package-lock.json?

  Рет қаралды 14,321

Tom Gregory Tech

Tom Gregory Tech

Күн бұрын

Пікірлер: 33
@FengolZA
@FengolZA 6 ай бұрын
For years I've had the lock file my project and finally bit to bullet to try and understand what it is. This video couldn't make it any clearer. Thank you so much!
@JamesQQuick
@JamesQQuick 2 ай бұрын
Great explanation. Love the overall video as well. Fun stuff!
@krishnakandula6587
@krishnakandula6587 Жыл бұрын
The presentation and the conceptual clarity of the video is unbelievable. Thank you.
@VidyaHarnal-r9y
@VidyaHarnal-r9y Жыл бұрын
Great video, you explained it so accurately. Cleared a lot of blur about the package-lock json file. You should make more videos.
@reidmoffat7055
@reidmoffat7055 Жыл бұрын
This way you presented this video is incredible; incredibly informative & clear and straight to the point - in 3 mins you answered all my questions better than all the stack overflow questions I've read over the last few years. Incredible channel 🙏
@iurysza
@iurysza Жыл бұрын
You're very good at this! Quality content, great editing, great humor.
@akashkeshari5699
@akashkeshari5699 2 ай бұрын
Hi @Tom, I am using yarn in my project and got yarn.lock file. Still the project does not build up when I tried building with "yarn build" command which was actually building earlier.
@snake1625b
@snake1625b 3 ай бұрын
Great explanation! It seems like the lock also includes the versions of the sub dependencies as well
@poppin_party
@poppin_party Жыл бұрын
thanks bud, I finally understand wth package-lock is
@sundarraj9384
@sundarraj9384 Жыл бұрын
Simple, Clear and Good
@Ahmed-fq3kz
@Ahmed-fq3kz Жыл бұрын
great informative video with some comedic scenes. I think you will fit perfectly as voice over
@yashpratapsingh1527
@yashpratapsingh1527 12 күн бұрын
Awesome explanation, thanks!
@rajatguleria4933
@rajatguleria4933 Жыл бұрын
Awesome bro, I watched some videos on the same and thought of the same question why would ^ be in the package.json and lock.jason file exist together but no one mentioned the same except you.
@aakashpatel9281
@aakashpatel9281 7 ай бұрын
really appreciate the video . Keep it up 👍
@aben5960
@aben5960 2 жыл бұрын
I really appreciate your efforts to produce such an amazing video :)
@randalljosue
@randalljosue Жыл бұрын
But what about the fact package-lock.json also has ~ and ^? It would just then NOT install the exact version of packages...
@b25671
@b25671 Жыл бұрын
Why didn't npm just change the functionality of "npm install"... which installs and automatically updates ... to just "install"... without the automatic update And if you want to update the packages... you use the "npm update" command ... like you do now? I don't get it.
@harshasinha5499
@harshasinha5499 10 ай бұрын
beautiful answers explained nicely
@RavenFelman
@RavenFelman Жыл бұрын
thank you so much!
@lightoo4343
@lightoo4343 Жыл бұрын
Should we ever delete lock file? How will it affect dependencies ? Amazing content !😊
@TomGregoryTech
@TomGregoryTech Жыл бұрын
There's no reason to delete it. You might get different dependency versions to someone else using the same repo.
@lightoo4343
@lightoo4343 Жыл бұрын
@@TomGregoryTech thank you so much 😊
@prabhsharansingh6150
@prabhsharansingh6150 3 ай бұрын
Too good!
@MayankGupta303
@MayankGupta303 Күн бұрын
Thank you
@GregorGramlich
@GregorGramlich Жыл бұрын
I know lock files from the various package managers of Ruby, Python and NodeJS. A similar functionality exists for Gradle (Locking dependency versions in the user guide). Why seems to be so little talk about that? Why don't you - as the Gradle guy - talk about it or mention the parallels in this video? Are the other Gradle mechnisms prefered over locking dependencies? I honestly don't understand why this feature seems to be so unpopular for Gradle.
@valikonen
@valikonen 4 ай бұрын
Jesus Bob you have a talent to speak outside of topic....I hope your mom will cut your access to internet ;)
@RichardRebeco
@RichardRebeco Жыл бұрын
gracias amigo
@user-ed1jc6xl9r
@user-ed1jc6xl9r 9 ай бұрын
omg thx u
@Draconicrose
@Draconicrose 5 ай бұрын
Oh. OH! Oh wow. Okay. THEN WHY DON'T THEY JUST SAY SO- /sigh. Thank you for the video.
@pstha4537
@pstha4537 Жыл бұрын
too many useless content. Get to the point. make it concise.
@Markus-iq4sm
@Markus-iq4sm Жыл бұрын
Weak explanation
@ShoaibBinAllahBakhsh
@ShoaibBinAllahBakhsh 3 ай бұрын
console.log("Excellent explanation");
Understanding Package-lock.Json | Javascript Tutorial
12:50
The Code Creative
Рет қаралды 8 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
package.json is not enough
15:40
Hussein Nasser
Рет қаралды 53 М.
I Almost Quit Coding Until I Discovered This
6:31
Tom Gregory Tech
Рет қаралды 8 М.
What is OpenTelemetry?
12:55
Highlight
Рет қаралды 16 М.
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 441 М.
Peer Dependencies - Explained
18:40
A shot of code
Рет қаралды 8 М.
What is NPM, and why do we need it? | Tutorial for beginners
14:27
Coder Coder
Рет қаралды 335 М.
It's pointless to start anything unless you do it daily
6:29
Tom Gregory Tech
Рет қаралды 1,6 М.
Should software developers quit after 40?
6:48
Tom Gregory Tech
Рет қаралды 48 М.