How npm resolves dependency hell | Must know!

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ก.พ. 2025

ความคิดเห็น • 33

  • @harshadevapriyankarabandar5456
    @harshadevapriyankarabandar5456 ปีที่แล้ว +4

    Greatest explanation on the TH-cam about dependencies. thank you

  • @VC-dm7jp
    @VC-dm7jp 4 หลายเดือนก่อน +1

    Beautifully explained

  • @jasonvictor1798
    @jasonvictor1798 ปีที่แล้ว +3

    Wow - this was a great video! super helpful.

  • @stefanhupp7945
    @stefanhupp7945 ปีที่แล้ว +1

    Really nice explanation. Thanks for the information

  • @kshitizbathwal4236
    @kshitizbathwal4236 2 ปีที่แล้ว +2

    This was a very helpful and well explained video! Thanks. Looking for more..

  • @mathieudreano3842
    @mathieudreano3842 3 หลายเดือนก่อน

    Thank you ! It was crystal clear.

    • @MayankSrivastava
      @MayankSrivastava  3 หลายเดือนก่อน

      @@mathieudreano3842 glad it helped

  • @shan504
    @shan504 ปีที่แล้ว

    Fantastic explanation!

  • @mahalingamsundararaj7003
    @mahalingamsundararaj7003 ปีที่แล้ว +1

    Clear explanation

  • @chandanmallik2697
    @chandanmallik2697 หลายเดือนก่อน

    Bhai zehar

  • @elco7956
    @elco7956 9 หลายเดือนก่อน +2

    Also try the npm ls command

  • @OscarRosner
    @OscarRosner 5 หลายเดือนก่อน

    amazing video.

  • @d3.finance
    @d3.finance ปีที่แล้ว

    Super helpful. Thank you!

  • @mattalizadeh3918
    @mattalizadeh3918 ปีที่แล้ว +1

    That's all good, but the question is if this is already implemented, why do we still get dependency conflicts in the latest versions??

  • @ryanwoods3333
    @ryanwoods3333 6 หลายเดือนก่อน

    thank you!!

  • @nifesalilislam1189
    @nifesalilislam1189 ปีที่แล้ว

    I have difficult time finding the changelog of some packages, is there a way to do that easily

  • @joelmatthias
    @joelmatthias 2 ปีที่แล้ว +2

    For completeness, it would be good to explain what happens when the major versions are the same, but the minor versions differ. Does npm just install the most recent version of the two versions?

    • @MayankSrivastava
      @MayankSrivastava  ปีที่แล้ว +1

      depends on whether you add ^ or ~ in front of the package name

  • @dannyisrael
    @dannyisrael 2 ปีที่แล้ว

    Thank you! 🙏🏻

  • @coolsai
    @coolsai 2 ปีที่แล้ว +1

    nice!!!

  • @Userkazt
    @Userkazt 2 ปีที่แล้ว

    this mean npm cause duplication of dependency. right ?

    • @MayankSrivastava
      @MayankSrivastava  2 ปีที่แล้ว

      Yes, in the case of installing two major versions of the same package

  • @KartikVasudev-xz5gp
    @KartikVasudev-xz5gp 2 ปีที่แล้ว +1

    Are there any changes to this pattern after npm version 3

    • @MayankSrivastava
      @MayankSrivastava  ปีที่แล้ว

      not really, it has been resolving conflicts the same way since

  • @atharvparlikar8765
    @atharvparlikar8765 ปีที่แล้ว +1

    great explenation but it could have been a 2 minute video. great for beginners tho