DenoDDeno
Powered by
pihentagyP
Denoβ€’14mo ago
pihentagy

jsts with deno

I am struggling how to use the jsts npm module with deno.

Has someone managed to set it up correctly?

> import * as jsts from 'npm:jsts'
Uncaught TypeError: [ERR_MODULE_NOT_FOUND] Cannot find module 'file:///home/pihentagy/.cache/deno/npm/registry.npmjs.org/jsts/2.12.1/index.js' imported from 'file:///home/pihentagy/$deno$repl.mts'
    at async <anonymous>:1:35
> import * as jsts from 'npm:jsts'
Uncaught TypeError: [ERR_MODULE_NOT_FOUND] Cannot find module 'file:///home/pihentagy/.cache/deno/npm/registry.npmjs.org/jsts/2.12.1/index.js' imported from 'file:///home/pihentagy/$deno$repl.mts'
    at async <anonymous>:1:35
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 + Vite + DenoKV
AndiAAndi / help
2y ago
Recommended `denoland/deno` contributor editor setup
DanielduelDDanielduel / help
3y ago
denodrivers/sqlite and deno-sqlit behave different with multiple `?` args
adoublefAadoublef / help
3y ago
DenoKV - Missing DENO_KV_ACCESS_TOKEN environment
Sean KnowlesSSean Knowles / help
2y ago