DanielXMoore / Civet

A TypeScript superset that favors more types and less typing
https://civet.dev
MIT License
1.56k stars 33 forks source link

can't install in deno #1616

Closed johndeighan closed 2 days ago

johndeighan commented 5 days ago

I can successfully install this package using npm, but not using deno add:

$ deno add npm:@danielx/civet
Add npm:@danielx/civet@0.8.15
error: Unknown export './unstable-retry' for '@std/async@1.0.8'.
  Package exports:
 * .
 * ./abortable
 * ./deadline
 * ./debounce
 * ./delay
 * ./mux-async-iterator
 * ./unstable-mux-async-iterator
 * ./pool
 * ./retry
 * ./tee
 * ./unstable-throttle

Is there perhaps an error that NodeJS doesn't detect? Note that @std/async is a Deno package - if you don't support Deno yet, I'm not sure why that's being imported???

edemaine commented 5 days ago

That sounds like an error in Deno itself? (We definitely don't import any Deno packages ourselves.) What version of Deno are you using? I had no trouble in a fresh install:

$ deno add npm:@danielx/civet
Add npm:@danielx/civet@0.8.15

$ deno --version
deno 2.1.1 (stable, release, x86_64-pc-windows-msvc)
v8 13.0.245.12-rusty
typescript 5.6.2