DenoDDeno
Powered by
IndustrialI
Denoβ€’3y agoβ€’
3 replies
Industrial

Error running program that uses `fp-ts` from npm (`Is a directory (os error 21)`)

https://github.com/Industrial/test-fp-ls/blob/main/mod.ts

When I run
deno run -A mod.ts
deno run -A mod.ts
I get:

error: Unable to load /home/tom/Code/code9/node/test-fp-ls/node_modules/.deno/fp-ts@2.16.1/node_modules/fp-ts/Option imported from file:///home/tom/Code/code9/node/test-fp-ls/mod.ts

Caused by:
    Is a directory (os error 21)
error: Unable to load /home/tom/Code/code9/node/test-fp-ls/node_modules/.deno/fp-ts@2.16.1/node_modules/fp-ts/Option imported from file:///home/tom/Code/code9/node/test-fp-ls/mod.ts

Caused by:
    Is a directory (os error 21)


Is my
import_map.json
import_map.json
wrong? https://github.com/Industrial/test-fp-ls/blob/main/import_map.json
GitHub
test-fp-ls/mod.ts at main Β· Industrial/test-fp-ls
Contribute to Industrial/test-fp-ls development by creating an account on GitHub.
test-fp-ls/mod.ts at main Β· Industrial/test-fp-ls
GitHub
test-fp-ls/import_map.json at main Β· Industrial/test-fp-ls
Contribute to Industrial/test-fp-ls development by creating an account on GitHub.
test-fp-ls/import_map.json at main Β· Industrial/test-fp-ls
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

deno tasks "error: Is a directory (os error 21)" linux wsl
BanatawaBBanatawa / help
15mo ago
deno doc: error: fp-ts
yoggydYyoggyd / help
3y ago