testcontainers / testcontainers-node

Testcontainers is a NodeJS library that supports tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.
https://testcontainers.com
MIT License
1.94k stars 195 forks source link

404 error when installing package with Bun #853

Closed bastien-snk closed 1 week ago

bastien-snk commented 3 weeks ago

Expected Behaviour testcontainers package should be installed when type bun add -D testcontainers

Actual Behaviour

bun install v1.1.33 (247456b6)
error: GET https://npm.pkg.github.com/testcontainers - 404
error: testcontainers@^10.13.2 failed to resolve

Testcontainer Logs Not applicable I guess

Steps to Reproduce

  1. Type bun add -D testcontainers
  2. See error

Environment Information

Server: Docker Desktop 4.31.1 (153621) Engine: Version: 26.1.4 API version: 1.45 (minimum version 1.24) Go version: go1.21.11 Git commit: de5c9cf Built: Wed Jun 5 11:29:22 2024 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.33 GitCommit: d2d58213f83a351ca8f528a95fbd145f5654e957 runc: Version: 1.1.12 GitCommit: v1.1.12-0-g51d5e94 docker-init: Version: 0.19.0 GitCommit: de40ad0


- Node version: Not Applicable
- Testcontainers version: latest
cristianrgreco commented 1 week ago

The testcontainers package is published on NPM, so I guess it's an issue with Bun? I don't see what I can do about that. Please raise an issue with Bun.