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
{{ message }}
Repository navigation
Commit d872eeb
Browse filesBrowse the repository at this point in the historyBrowse files
fix(@angular/cli): handle modern yarn registry error output and 404 detection
Modern yarn (v2+) reports registry errors as JSON lines on `stdout`, one per
message line, such as `{"type":"error","displayName":"YN0035","data":"Package
not found"}` followed by a `Response Code: 404 (Not Found)` line. Because
`parseNpmLikeError` did not recognize this format, querying a package that does
not exist under modern yarn threw the original `Process exited with code 1.`
error instead of returning `null`.
(cherry picked from commit a9aaff5)
0 commit comments