DenoDDeno
Powered by
scarfS
Denoβ€’14mo agoβ€’
5 replies
scarf

`--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
> 
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,944Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Auto Import Not Working
VincentVVincent / help
16mo ago
import cache not working
The NexusTThe Nexus / help
3y ago
import_map.json not working
MqxMMqx / help
2y ago
Sloppy imports on remote?
javiJjavi / help
2y ago