Closed felippecaso closed 1 week ago
Confirmed. What's surprising is that when I log the tempFd
symbol it is a FileHandle
, and it should support createWriteStream
:
https://docs.deno.com/api/node/fs/promises/~/FileHandle.createWriteStream
Note that we don't officially support deno, so not really a bug :) But it would be nice to fix nonetheless.
minimal repro:
❯ cat test.js
import {open} from "node:fs/promises";
const a = await open("test.js", "r");
console.warn(a.createWriteStream);
with Node:
[Function: createWriteStream]
with deno 2.0.6:
undefined
this is a bug with deno, I'm afraid?
Using Deno v2.0.4 (MacOS 15.1, zsh), when initializing a new project and including sample files, the
Example dashboard
is broken due to not loadinglaunches.csv
correctly:In the CLI, the error is
Steps to reproduce
deno run -A "npm:@observablehq/framework@latest" create
;Yes, include sample files
and do not install dependencies;cd
into the chosen folder;deno install
deno task dev