Deno + Vite + DenoKV
can't access jsr packages in deno v1.3.6
Inprove performance in lint to windows
Import built-in Node module from deno.json imports
Unstable byonm breaks Deno Fresh
How to prevent dynamic code from installing remote packages.
deno run --no-remote --cached-only would do the job. I have ran deno cache with vendor: true in deno.json file. But, when i run with --no-remote flag, i can't use any of the standard libs in my deno code. I am getting the follwoing error:
```
deno run --cached-only --no-remote main.ts
error: JSR package manifest for '@std/crypto' failed to load. A remote specifier was requested: "https://jsr.io/@std/crypto/meta.json", but --no-remote is specified.
at file:///home/xxxxxx/deno/test/main.ts:3:24...How to reuse SSL session
AsyncLocalStorage without `node:async_hooks`
node: in a Deno project. I just came across https://github.com/nodejs/node/pull/48528 and I'm wondering if it could unlock AsyncLocalStorage without a dependency on node:async_hooks for Deno.
I am having a bit of a hard time following the various PRs/Github issues, but I also found some fairly recent work that seems related:
https://github.com/denoland/deno/pull/25140
https://github.com/denoland/deno/pull/24402...Child process doesn't exit on .kill()
.kill() and await the .status, I can see it exits with a status code of 1. If the script then waits (even a full minute) and spawns a new child process of the same Node app, I get an EADDRINUSE error. If, instead, I exit the Deno app and start it again (in well under a minute), the first child process spawns fine and the desired port is available.
It looks like, despite returning an exit code, the child process isn't actually terminated while the Deno app keeps running. I can even see the Node process still in my task manager after it's supposedly been terminated. Once I exit the Deno process, the Node processes disappear immediately. The exit code of 1 probably means that something's wrong, but nothing's coming in over stdout or stderr.
FWIW, I get the same when I try to run a Vite dev server instead of a Fastify app, with the same result. Anyone know what I'm doing wrong?...`deno vendor` + `/// <reference types=...>` ?
deno vendor doesn't like to see <reference types=''> entries in source code. Concretely, I can't seem to call deno vendor in any project that eventually sees https://deno.land/std@0.224.0/crypto/_wasm/lib/deno_std_wasm_crypto.generated.mjs?source=#L5, since that causes the following error:
```
error: Expected a JavaScript or TypeScript module, but identified a Unknown module. Importing these types of modules is currently not supported.
Specifier: https://deno.land/std@0.224.0/crypto/_wasm/lib/deno_std_wasm_crypto.generated.d.mts...`deno vendor`: help with import_map.json changes from deno.land to jsr?
jsr
Our import map at Quarto currently contains entries like this:
```...Allowed to use an external proxy service and let the Deno transform the JSON data?
Decorators are not valid here.deno-ts(1206)
npm executable script error: 'node:process' does not provide an export named 'execPath'
deno run --allow-read --allow-write npm:likec4 export png -o ./ should work. However, it throws with the error message Uncaught SyntaxError: The requested module 'node:process' does not provide an export named 'execPath'. I've attempted to search through the deno documentation, Twitter, and the web for anything relevant. I see that Deno includes a process.execPath property, but I can't figure out how it could be used in the context of an executable script.
I'd appreciate any help or insight anyone could offer. My use case isn't mission critical, it's just a personally relevant example I'm using to learn more about what Deno is capable of. If you would like to try reproducing the error, create a directory with a .c4 file in it (ex: ./example.c4). Within that file, you can paste in a sample LikeC4 definition, such as this one: https://playground.likec4.dev/w/bigbank/ . Finally, with your command line scoped to that directory, run the command I shared previously: deno run --allow-read --allow-write npm:likec4 export png -o ./...Deno vscode not using import map when in a workspace context
Relative import path "hono" not prefixed with / or ./ or ../. (Reported by deno(import-prefix-missing)
When I enable deno for the entire project (deno.enable in vscode settings) the error goes away. When I enable only for specific paths this error appears.
Running the file works fine. ...KV multimap / unordered keys search

ISOLATE_INTERNAL_FAILURE using KV
Can't get Deno to support loading a .ts module
Failed to initialize a JsRuntime: Uncaught SyntaxError: Unexpected token '{'
at ext:deno_node/_http_outgoing.ts:12:13
Failed to initialize a JsRuntime: Uncaught SyntaxError: Unexpected token '{'
at ext:deno_node/_http_outgoing.ts:12:13
Using SolidJS with Deno
deno lint missing imports