You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error Error: Unexpected audit response (Missing Metadata): false
at Audit.<anonymous> (C:\Users\malliel\AppData\Local\node\corepack\yarn\1.22.21\lib\cli.js:59326:15)
at Generator.next (<anonymous>)
at step (C:\Users\malliel\AppData\Local\node\corepack\yarn\1.22.21\lib\cli.js:310:30)
at C:\Users\malliel\AppData\Local\node\corepack\yarn\1.22.21\lib\cli.js:321:13
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Expected outcome
Should report on vulns and not fail.
Additional info
yarn audit works if you instead do npm install first. npm audit works as well.
Environment
Yarn: 1.22.21
OS: Windows
The text was updated successfully, but these errors were encountered:
I ran into this same issue on an existing project that I was updating a few dependencies for. Deleting node_modules and the yarn.lock file and running yarn install to rebuild the lock file resolved the issue for me.
yarn audit
fails witherror Error: Unexpected audit response (Missing Metadata): false
when some combination of dependencies exist.Repro
yarn install && yarn audit
Outcome
Expected outcome
Should report on vulns and not fail.
Additional info
yarn audit
works if you instead donpm install
first.npm audit
works as well.Environment
Yarn: 1.22.21
OS: Windows
The text was updated successfully, but these errors were encountered: