testcontainers-node icon indicating copy to clipboard operation
testcontainers-node copied to clipboard

pinpoint issue with running testcontainers-node in deno

Open jarlah opened this issue 1 year ago • 2 comments

This PR is not a feature or bugfix, its only purpose serves to debug running tc-node in deno. Since this PR still uses npm libraries for calling out to docker, like dockero, its still doing its job as good as any. tests fails due to https://github.com/denoland/deno/issues/25661#issuecomment-2414232856 and i expect it to fail horribly with tsconfig due to non relaxed imports with extensions in addition to the huge amount of changes in code where it prepends "node:" to imports ;) its alot easier to debug why it fails if the code is ported versus blackbox testing with the npm library

EDIT: made an exampler repo here which bypasses tc-node https://github.com/jarlah/dockerode-in-deno

jarlah avatar Oct 15 '24 15:10 jarlah

Deploy Preview for testcontainers-node ready!

Name Link
Latest commit 94ad4eac9cd2af6b014a8a25a7488e81257c8413
Latest deploy log https://app.netlify.com/sites/testcontainers-node/deploys/670e880d6b3f200008f550ff
Deploy Preview https://deploy-preview-845--testcontainers-node.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar Oct 15 '24 15:10 netlify[bot]

made a simpler example here proving its dockerode/docker-modem issue https://github.com/jarlah/dockerode-in-deno the test fails with same error

jarlah avatar Oct 15 '24 18:10 jarlah