How npm resolves dependency hell | Must know!

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 32

  • @harshadevapriyankarabandar5456
    @harshadevapriyankarabandar5456 Год назад +3

    Greatest explanation on the RUclips about dependencies. thank you

  • @VC-dm7jp
    @VC-dm7jp 2 месяца назад +1

    Beautifully explained

  • @jasonvictor1798
    @jasonvictor1798 Год назад +3

    Wow - this was a great video! super helpful.

  • @mathieudreano3842
    @mathieudreano3842 Месяц назад

    Thank you ! It was crystal clear.

  • @kshitizbathwal4236
    @kshitizbathwal4236 2 года назад +2

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

  • @elco7956
    @elco7956 6 месяцев назад +2

    Also try the npm ls command

  • @stefanhupp7945
    @stefanhupp7945 Год назад +1

    Really nice explanation. Thanks for the information

  • @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??

  • @mahalingamsundararaj7003
    @mahalingamsundararaj7003 Год назад +1

    Clear explanation

  • @shan504
    @shan504 Год назад

    Fantastic explanation!

  • @OscarRosner
    @OscarRosner 2 месяца назад

    amazing video.

  • @joelmatthias
    @joelmatthias Год назад +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

  • @d3.finance
    @d3.finance 10 месяцев назад

    Super helpful. Thank you!

  • @ryanwoods3333
    @ryanwoods3333 3 месяца назад

    thank you!!

  • @nifesalilislam1189
    @nifesalilislam1189 Год назад

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

  • @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

  • @atharvparlikar8765
    @atharvparlikar8765 Год назад +1

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

  • @KartikVasudev-xz5gp
    @KartikVasudev-xz5gp Год назад +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