FileServer from tutorial, 2000+ ms to connect?

How to import relative JSR module from import map
Adding JSR packages to vite example `tutorial-with-react`
deno
instead of pnpm
for a web react/vite/ts
project I have. I cloned tutorial-with-react
to test. I am using 2.1.1
. I wanted to add a package from the jsr
(@std/collections
) and use that in the tsx
pages. Naively, I just did a deno add jsr:@std/collections
and then tried to reference it with import { pick } from "@std/collections";
. Somehow this isn't showing an error in vscode
but if I run with deno task dev
then I get the following error:
```
6:43:40 PM [vite] Internal server error: Failed to resolve import "@std/collections" from "src/pages/Dinosaur.tsx". Does the file exist?
Plugin: vite:import-analysis...Deno2: Websocket send not flushed until another message is received
Debugger crashes in Docker container
Deactivate Deno TypeScript LSP in Visual Studio Code
Failed deployment Deno Deploy
ReferenceError: process is not defined
I'm not even using an npm package. ...
where does `deno compile` place the V8 code cache?
deno compile
.
I have a setup where I use deno compile
with Docker to have a minimal alpine image that just runs the compiled binary in the end. How could I make sure to get this cache created at the inital run of the binary to improve the startup time of the Docker container?
I'm thinking that using a multi stage Dockerfile where I build and run the deno compiled binary and then copy that and the V8 code cache over to a bare alpine image would give me the best startup time.
So basically, where is this V8 code cache stored?...
Tailwind V4 Beta 1
cant connect to mongo atlas via official driver or mongoose but works outside of deno
IntelliSense doesn't work with npm:minio@8.0.2
deno.json
:
```json...Sharing a library between deno and frontend
common
library for the 2 projects to share, does anyone have any recomendations on how to do this? I'm trying to keep dependencies minimal, so I'd prefer to not have to add anything outside deno, and maybe Vite for the frontend app.
Any help would be appreciated!...Transitive dependency module not found?
deno run fail to execute npm binary file in 2.0
supabase
CLI with Deno 2 and running into some error executing the compiled binary.
To Reproduce
Steps to reproduce the behavior:...Converting package.json into deno.json
deno.json
have and what are the expected values? I'm unable to find any.
I would like to put as many things as possible into deno.lock
from the package.json
. This would be really helpful....How to install npm dev dependencies?
keysely-codegen
using deno add -D npm:kysely-codegen
but everytime it adds the dependency to my regular imports in the deno.json
, which looks like this:
```javascript
{
"nodeModulesDir": "auto",...deno lint doesn't notice function call to unimported function

Dynamic KV queue listener removal