scarf
scarf4w ago

`--unstable-sloppy-import` not working

scarf@fedora ~> deno repl --no-lock --unstable-sloppy-imports
Deno 2.1.9
exit using ctrl+d, ctrl+c, or close()
> import { pipe } from 'npm:fp-ts/function'
Uncaught TypeError: Directory import /var/home/scarf/.cache/deno/npm/registry.npmjs.org/fp-ts/2.16.9/function
Caused by:
Is a directory (os error 21)
at async <anonymous>:1:39
>
scarf@fedora ~> deno repl --no-lock --unstable-sloppy-imports
Deno 2.1.9
exit using ctrl+d, ctrl+c, or close()
> import { pipe } from 'npm:fp-ts/function'
Uncaught TypeError: Directory import /var/home/scarf/.cache/deno/npm/registry.npmjs.org/fp-ts/2.16.9/function
Caused by:
Is a directory (os error 21)
at async <anonymous>:1:39
>
5 Replies
marvinh.
marvinh.4w ago
Sounds like a bug. Can you open an issud for that at https://github.com/denoland/deno/issues ?
GitHub
Issues · denoland/deno
A modern runtime for JavaScript and TypeScript. Contribute to denoland/deno development by creating an account on GitHub.
scarf
scarfOP4w ago
yeah, i'm going to open a ton of issues, is subissues supported?
scarf
scarfOP4w ago
GitHub
[Enhancement] add Deno runtime in benchmark · Issue #1267 · moltar/...
adding Deno runtime to benchmark would be useful, especially since Deno runs typescript as first class citizen. i'm interested in opening a PR if it's acceptable. (I'd be grateful for p...
marvinh.
marvinh.4w ago
Please do, we can only fix issues we know about. Our issue tracker is the right place for that. Not sure about support for subissues, what's more important is that the issues are tracked in our tracker
scarf
scarfOP4w ago
GitHub
multiple NPM compatibility issues · Issue #27894 · denoland/deno
Version: Deno 2.1.9 All encountered while testing moltar/typescript-runtime-type-benchmarks#1267. might split into sub-issues later, but github UI doesn't seem to support creating them all at o...

Did you find this page helpful?