-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] No Debug Information in Integrity checksum failed
Error
#2955
Comments
does the debug log mentioned at the bottom of that error give you anything more? can you share it here? i agree this error message could use some enhancement, but there's generally some hints elsewhere in the log as to what was taking place when the integrity mismatch happened. |
@nlf Not that I can see. Attaching the entire log file here. One note I forgot to mention. Using verdaccio as a proxy. Which obviously I think might be causing the problem. But really hard to debug it or bust it's cache for that item if I don't even know where the error is coming from. Or even report the bug to them. If you happen to know what the problem is off the top of your head, that'd be awesome, but otherwise, really just need a more detailed log message about where this problem is occurring so I can debug further on my own. |
you're right, i can't pin the integrity mismatch down to a specific file based on this log either. that's not very helpful at all. we definitely need to improve our error here to at least tell you what file failed its integrity check. |
if you search your for that module, however, i also suspect there won't be a can you check your package-lock for that integrity value and let me know what that particular object looks like? |
I'm glad you found a solution. I completely agree the error needs to be better, and intend to keep this issue open to track exactly that |
I also experienced this bug with NPM 7.x, which worked fine on NPM 6.x. I fixed my problem by changing dependencies from |
Current Behavior:
Error message doesn't give ANY relevant details. What integrity checksum failed? Assuming this is related to a package, which package was this related to? What download URL produced the checksum output we got?
There is NOTHING in this error message to help me debug this.
Expected Behavior:
Error message to give relevant details
Steps To Reproduce:
Integrity checksum failure
(not quite sure how to do this manually)Environment:
The text was updated successfully, but these errors were encountered: