Open
Description
🐛 Bug report
Current Behavior
Installing @reach/[email protected] throws a checksum integrity error:
npm ERR! code EINTEGRITY
npm ERR! sha1-yoNpYhXuA6zCuyWlrl2Hk+qvL2Q= integrity checksum failed when using sha1: wanted sha1-yoNpYhXuA6zCuyWlrl2Hk+qvL2Q= but got sha512-rwsr2NVJet8fhGTEPDaq+6qL9oeLJRX/JuDiBK5vidPLlFQFkAlO30O5B3RZ1+ljLcCAHGqCmqsVwRw2Z1r+XQ== sha1-3xEf6w2gUVo37Q9FPEUnzhghx60=.
Expected behavior
Install completes successfully with latest version (0.16.2).
Reproducible example
I could not reproduce this issue in CodeSandbox, but I did the following to reproduce on my local machine:
mkdir test-reach-dialog
cd test-reach-dialog
npm init -y
npm i @reach/dialog --save
Suggested solution(s)
I'm not altogether sure I understand where the sha512 checksum value is coming from in order to suggest a solution.
Additional context
- Version 0.16.0 works fine (as does previous versions such as 0.15.3).
- Other Reach UI packages also seem to be impacted; I get the same result for @reach/[email protected]
- I am working behind a private network and going through an Artifactory npm instance that proxies the public npm.
Your environment
Software | Name(s) | Version |
---|---|---|
Reach Package | @reach/dialog | 0.16.2 |
React | N/A | |
Browser | N/A | |
Assistive tech | N/A | |
Node | 14.17.1 | |
npm/yarn | npm | 6.14.13 |
Operating System | Mac OS | 10.14.6 |