Deno

D

Deno

Chat about Deno, a modern runtime for JavaScript and TypeScript.

Join

Deno + Tauri, deploy and make app usable on my device forever

Is it possible for me to make my tauri app available on my phone (iOS) all the time. Basically, I want to download the app I made onto my phone, and make it available even if I didn't run deno task tauri ios dev on my laptop and didn't have to keep my phone connected to the internet to use it. Not sure if I should be asking here or in the tauri server (I am asking in both), but just curious if it was possible. Currently I can test it both on simulators and my device, but I want to keep it on m...

how to deploy deno in turborepo on Deno EA?

I created a monorepo(https://github.com/waptik/veth/tree/main) with turborepo and it works well on my machine. I tried deploying the deno app in apps/hono on deno-ea and set entrypoint to apps/hono/src/index.ts and set install command to pnpm install but it's failing...
No description

Deno compile with @types/node (Buffer) issue

Hi, I am trying to get Deno to compile my node.js project and I am hitting the wall with typechecking (I know about --no-check, I just want to resolve this) Error: TS2580 [ERROR]: Cannot find name 'Buffer'. return { out: Buffer.from(out).toString('hex'), result };...

Getting BOOT_FAILURE with Deno Deploy (using deployctl) when trying to deploy SSH Server Ink App

I know this is kinda niche, but I'm hoping someone can help me out here as I am stumped. I am working on an SSH server portfolio app using npm:ssh2 and npm:inkjs. I thought it would be neat to serve this using Deno Deploy, but I keep getting this error: ```sh i Using config file 'sshportfolio-deno/deno.json' ‼ No project name or ID provided with either the --project arg or a config file....

Is it possible to check the request comes from deno subhosting?

Recnently we are planing to use deno subhosting to connect to database. We need to protect the database connections only comes from deno but I didn't found the way to do that, does anyone knows how to do?

How to get origin URL on Deno Deploy?

What's the right way to get the origin URL https://user-repo.deno.dev in a Deno Deploy worker? I could hardcode it, but would need to keep it in sync with a custom domain, etc. It seems globalThis.location isn't set on Deploy!?...

Does anyone use Deno Subhosting?

Hi, we are new to deno and we lare thinking about using deno subhosting to serve our customer's needs for edge function. Has anyone used it and is it stable? looks like there's no subhosting channel here...

Is there a way to set the globalThis.location for a Worker

In the same way that --location can be used to set the location on the main thread, is there a way to override the location that gets set on a Worker? We are using Workers to run untrusted user code, and it'd be more desirable to set the location to something other than the URL of the worker module itself....

i have an external network card how to find my deno project externaly

soo my computer was used by an company soo it has an firewall im trying to access my local project on and different device how to do this

I lost my questions.deno.com account.

Hello, i have deleted my old discord account 1y ago, and i lost access to the forum. I still have access to the email i used on my old discord account and since questions.deno.com save discord account's email i can use it to proof ownership. Is it possible to get my access back or to delete my account/data ?...

Deno LSP not narrowing types

I've got a project set up with vite and everything is working well but I'm getting the following error both in my editor and on build. Is there some tsconfig setting that I'm missing that's preventing it from narrowing it to the correct type? This is my current config: ```ts...
No description

OTEL not exporting to external server

Hey team, I've been reading docs and trying different configurations. But I can't seem to get my local OTEL logs and traces on my remote LGTM stack. The project is fairly simple, it's a Deno Fresh (1) setup. With some API endpoints which I want to see the logs for. Using Deno 2.4.1...

How do I propagate OTEL context into a Worker?

First, should I expect that the context is propagated via postMessage to Workers automatically? I assumed not, so I've tried using propagation.inject/extract with a plain object as the carrier to pass the context in the message of postMessage. It appears that the carrier doesn't contain any data, when using Deno's native OTEL....

How can I replace vite with `deno bundle`?

I've got a web app (currently a SPA) that uses vite in a pnpm workspace. The backend is in a deno workspace in a separate repo. I'd love to get 100% on Deno. What's the best path for me to migrate to deno bundle and still get live reload and all that jazz?

Issues with Vite SSR and workspace imports in Deno — Need guidance on deno-vite-plugin usage

Hi everyone! 👋 I'm currently working with Deno (2.3.7) + Vite (v6.3.5) and running into some issues that I hope you can help me with. Current Setup...