antongolub / yarn-audit-fix

The missing `yarn audit fix`
MIT License
179 stars 9 forks source link

bug: produced package-lock may be incompatible with npm v7 #95

Open antongolub opened 3 years ago

antongolub commented 3 years ago
npm WARN old lockfile 
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile 
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile 
npm WARN audit 400 Bad Request - POST https://registry.npmjs.org/-/npm/v1/security/audits/quick - Bad Request
{
  statusCode: 400,
  error: 'Bad Request',
  message: 'Invalid package tree, run  npm install  to rebuild your package-lock.json'
}
antongolub commented 3 years ago

Related to https://github.com/imsnif/synp/issues/74