`package-lock.json` is missing some `resolved` and `integrity` values
See original GitHub issueYour Question
There are two cases in the package-lock.json
where the resolved
and integrity
values are missing:
https://github.com/corona-warn-app/cwa-website/blob/4142215c9b3b742480ba5f3446cbedd7843d7833/package-lock.json#L4372
https://github.com/corona-warn-app/cwa-website/blob/4142215c9b3b742480ba5f3446cbedd7843d7833/package-lock.json#L13274
It appears #1499 made this change, but I could not find any explanation for this. Is there a reason why this was done?
When I run npm install
it fills these missing values, but the build succeeds without any (noticable) issues.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
package-lock.json (missing resolved/integrity) not noticed and ...
Go back to a commit with a valid package-lock.json, which includes integrity and resolved fields. · Run npm install . · Copy the...
Read more >Solving the annoying package-lock.json integrity discrepancy
Solving the annoying package-lock.json integrity discrepancy · Ensure all team members use the same Node and NPM versions. · Revert any changes ...
Read more >Why did package-lock.json change the integrity hash from ...
The fix i found was to do the following: npm i -g npm cd {working directory} rm -rf node_modules/ rm package-lock.json npm cache...
Read more >package-lock.json - npm Docs
packageIntegrity. This is a subresource integrity value created from the package.json . No preprocessing of the package.json should be done.
Read more >Package-lock.json - npm - w3resource
The package-lock.json file is a manifestation of the manifest. ... The packageIntegrity is a subresource integrity value created from the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks for the clarification, I will close this issue then.
My changes were indeed unintended; I was rather concerned about updating Cypress and we had no issues from the MR.
I did however update the lockfileVersion from 1 to 2 then back to 1 in this commit https://github.com/corona-warn-app/cwa-website/pull/1499/commits/61e9fcba9572e68fa04f55032290acc2d5a695a8