D
Deno

help

Adding npm specifiers to deno.json

JRJoshua | Rem-Chan7/3/2023
How do i add a specific version of an npm module to the cache?
AAapoAlas7/3/2023
Quick Fix => Cache module
JRJoshua | Rem-Chan7/3/2023
its already in npm, when pressing quick fix => cache module, it says it couldnt find module i hae the deno plugin, v3.something
AAapoAlas7/3/2023
Hmm, seems to work for me without issue, both with and without ^ in the version.
JRJoshua | Rem-Chan7/3/2023
Weird

Looking for more? Join the community!

Recommended Posts
How do I enqueue_microtask from other threadso `Isolate.enqueue_microtask` is obviously not send/sync so I think the only option is to use` std:how to import svg in vite without type errors?Can't connect to http server on official alpine deno with std serve.I'm using the official alpine docker container to run deno, listening on port 8080, but a simple curcalling a javascript function and waiting for the promise with `rusty_v8````rust let result = function.call(scope, recv, &[]).expect("couldnt run"); /*i got this result whicDeno KV: subtract with `sum` operation?If I do `.sum([key], 1n)` the value is increased by 1. How can I decrease it? I tried `.sum([key], Proxying a Rust API using FFI?I have a rust application that serves a rest api that runs in a container. I also have a deno cli thHow to use declarations from `vite/client`?There are declarations: https://esm.sh/v126/vite@4.3.9/client.d.ts According to documentation, I neegetting errno with ffiI am using ffi to call `execv` and need to get the value of `errno` for failures, but can’t see how Purging Kv keysI have a logger which write logs to a kv store with dual keys, something like ```ts kv.set(["logs_bWhat is the right way to bundle native modules?If I'm not able to import a native module with the built-in "import" keyword, what is the ideal way HandleScope in async opIs there a way to get v8::HandleScope inside async op if I add it as ``` scope: &mut v8::HandleScopDeno LSP randomly breaks until a restart (unable to send result to client)This wasnt an issue until recently. In vscode randomly the lsp stops working. Trying to use the auto