Why npm install give different result folder than yarn install

18 views Asked by At

So I am trying to install specific version of lib-jitsi-meet package with the following commands:

npm install "https://github.com/jitsi/lib-jitsi-meet.git#b0356800"

yarn add "https://github.com/jitsi/lib-jitsi-meet.git#b0356800"

But inside node_modules/lib-jitsi-meet I got different results:

npm install:

enter image description here

yarn add:

enter image description here

Can anyone explain why this is happening and how to force npm to get same results as yarn gives?

0

There are 0 answers