esm.sh
esm.sh copied to clipboard
Failed to import - unsupported-nodejs-builtin-module repl
Failing module
- npm: https://www.npmjs.com/package/ts-node
import { } from "https://cdn.esm.sh/v58/[email protected]";
Error message
After running deno run
I get this:
Download https://cdn.esm.sh/error.js?type=unsupported-nodejs-builtin-module&name=repl&importer=ts-node
Check file:///home/***/test/main.ts
error: Import 'https://cdn.esm.sh/error.js?type=unsupported-nodejs-builtin-module&name=repl&importer=ts-node' failed: 500 Internal Server Error
at https://cdn.esm.sh/v58/[email protected]/deno/ts-node.js:2:424
Additional info
- esm.sh version: v58
- Deno version: 1.16.2
repl isn't implemented yet in deno_std
https://github.com/denoland/deno_std/tree/main/node
There is a esm.sh/repl can i use this somehow or is this something different? Tried with ?alias and ?deps but that does not seem work