antongolub / yarn-audit-fix

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

Running "yarn yarn-audit-fix" doesn't work. #286

Open charlesanim opened 1 year ago

charlesanim commented 1 year ago

charlesanim@Charless-MacBook-Pro web % yarn yarn-audit-fix
Resolve bins
npm ERR! code E401
npm ERR! Incorrect or missing password.
npm ERR! If you were trying to login, change your password, create an
npm ERR! authentication token or enable two-factor authentication then
npm ERR! that means you likely typed your password in incorrectly.
npm ERR! Please try again, or recover your password at:
npm ERR!     https://www.npmjs.com/forgot
npm ERR! 
npm ERR! If you were doing some other operation then your saved credentials are
npm ERR! probably out of date. To correct this please try logging in again with:
npm ERR!     npm login

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/charlesanim/.npm/_logs/2023-03-17T14_51_34_318Z-debug-0.log

Failure!
{
  status: 1,
  signal: null,
  output: [
    null,
    <Buffer >,
    <Buffer 6e 70 6d 20 45 52 52 21 20 63 6f 64 65 20 45 34 30 31 0a 6e 70 6d 20 45 52 52 21 20 49 6e 63 6f 72 72 65 63 74 20 6f 72 20 6d 69 73 73 69 6e 67 20 70 ... 643 more bytes>
  ],
  pid: 89080,
  stdout: <Buffer >,
  stderr: <Buffer 6e 70 6d 20 45 52 52 21 20 63 6f 64 65 20 45 34 30 31 0a 6e 70 6d 20 45 52 52 21 20 49 6e 63 6f 72 72 65 63 74 20 6f 72 20 6d 69 73 73 69 6e 67 20 70 ... 643 more bytes>
}

node:internal/process/esm_loader:97
    internalBinding('errors').triggerUncaughtException(
                              ^
{
  status: 1,
  signal: null,
  output: [
    null,
    Buffer(0) [Uint8Array] [],
    Buffer(693) [Uint8Array] [
      110, 112, 109,  32,  69,  82,  82,  33,  32,  99, 111, 100,
      101,  32,  69,  52,  48,  49,  10, 110, 112, 109,  32,  69,
       82,  82,  33,  32,  73, 110,  99, 111, 114, 114, 101,  99,
      116,  32, 111, 114,  32, 109, 105, 115, 115, 105, 110, 103,
       32, 112,  97, 115, 115, 119, 111, 114, 100,  46,  10, 110,
      112, 109,  32,  69,  82,  82,  33,  32,  73, 102,  32, 121,
      111, 117,  32, 119, 101, 114, 101,  32, 116, 114, 121, 105,
      110, 103,  32, 116, 111,  32, 108, 111, 103, 105, 110,  44,
       32,  99, 104,  97,
      ... 593 more items
    ]
  ],
  pid: 89080,
  stdout: Buffer(0) [Uint8Array] [],
  stderr: Buffer(693) [Uint8Array] [
    110, 112, 109,  32,  69,  82,  82,  33,  32,  99, 111, 100,
    101,  32,  69,  52,  48,  49,  10, 110, 112, 109,  32,  69,
     82,  82,  33,  32,  73, 110,  99, 111, 114, 114, 101,  99,
    116,  32, 111, 114,  32, 109, 105, 115, 115, 105, 110, 103,
     32, 112,  97, 115, 115, 119, 111, 114, 100,  46,  10, 110,
    112, 109,  32,  69,  82,  82,  33,  32,  73, 102,  32, 121,
    111, 117,  32, 119, 101, 114, 101,  32, 116, 114, 121, 105,
    110, 103,  32, 116, 111,  32, 108, 111, 103, 105, 110,  44,
     32,  99, 104,  97,
    ... 593 more items
  ]
}
charlesanim@Charless-MacBook-Pro web % 
`
antongolub commented 1 year ago

@charlesanim

It seems like a corner case when interacting with a private registry/org. I'm afraid, I haven't tested this case.