Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deno_docker example fails with 'TypeError: Deno.writeAll is not a function' #424

Open
und-miller opened this issue Oct 15, 2024 · 1 comment

Comments

@und-miller
Copy link

Copying the code verbatim from the docker example does not work.

Can be reproduced by:

  1. Copy the code from https://github.com/denoland/deno_docker/tree/main/example
  2. Run docker build -t app .
  3. Run docker run -it --init -p 1993:1993 app
  4. From another terminal run curl http://localhost:1993
  5. Fails with the error below
error: Uncaught (in promise) TypeError: Deno.writeAll is not a function
      await Deno.writeAll(
                 ^
    at BufWriter.flush (https://deno.land/std@0.77.0/io/bufio.ts:468:18)
    at writeResponse (https://deno.land/std@0.77.0/http/_io.ts:288:16)
    at eventLoopTick (ext:core/01_core.js:175:7)
    at async ServerRequest.respond (https://deno.land/std@0.77.0/http/server.ts:84:7)
@dionjwa
Copy link

dionjwa commented Oct 25, 2024

Also this fails the same way:

deno run -A --unstable https://deno.land/x/puppeteer@16.2.0/install.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants