Skip to content

fix: map EBADPLATFORM and Git SSH auth failures to UnsupportedPackageError (422) #282

fix: map EBADPLATFORM and Git SSH auth failures to UnsupportedPackageError (422)

fix: map EBADPLATFORM and Git SSH auth failures to UnsupportedPackageError (422) #282

Triggered via pull request August 10, 2026 16:05
Status Failure
Total duration 1m 10s
Artifacts

ci.yml

on: pull_request
Build Check
28s
Build Check
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Test (Node 24.x)
Process completed with exit code 1.
tests/slow/error-handling.test.ts > Installation Errors > should throw UnsupportedPackageError for packages with unsupported platform (os/cpu) constraints: tests/slow/error-handling.test.ts#L187
AssertionError: expected Error: ENOENT: no such file or directory,… { …(4) } to be an instance of UnsupportedPackageError ❯ tests/slow/error-handling.test.ts:187:21
Test (Node 22.x)
Process completed with exit code 1.
tests/slow/error-handling.test.ts > Installation Errors > should throw UnsupportedPackageError for packages with unsupported platform (os/cpu) constraints: tests/slow/error-handling.test.ts#L187
AssertionError: expected Error: ENOENT: no such file or directory,… { …(4) } to be an instance of UnsupportedPackageError ❯ tests/slow/error-handling.test.ts:187:21