IndustrialI
Deno3y 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 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)


Is my import_map.json wrong? https://github.com/Industrial/test-fp-ls/blob/main/import_map.json
GitHub
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
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
Was this page helpful?