patch-package icon indicating copy to clipboard operation
patch-package copied to clipboard

actually install the version that we're saying we're installing

Open jeffory-orrok opened this issue 4 years ago • 3 comments

Include the package name and version in the yarn and npm install commands.

Fixes issue https://github.com/ds300/patch-package/issues/320

jeffory-orrok avatar May 22 '21 19:05 jeffory-orrok

Sorry, I don't have time at the moment to come up with a test for this :-/

jeffory-orrok avatar May 22 '21 19:05 jeffory-orrok

@ds300 can we get that fix in? That doesn't work for us too - for some reason it's installing the wrong version in the temp directory and generate incorrect patches.

elsassph avatar May 24 '22 10:05 elsassph

I don't think I get what's happening when it is not working - can someone talk me through how we end up with a bad version?

I've never added a specifier after install (and it's not a feature in yarn 3 for example)

orta avatar Sep 28 '22 09:09 orta