coty
coty
DDeno
Created by w7a9q on 11/3/2024 in #help
Zed Deno Support
I use deno and zed daily, there’s some configuration you have to do to disable the native js, ts, and some other language servers. And reload the editor after those config changes https://zed.dev/docs/languages/deno And here’s the config I use https://jsr.io/@cotyhamilton/zed-settings@0.1.5
2 replies
DDeno
Created by Wazbat on 10/27/2024 in #help
permission denied error when running deno install inside dockerfile
Seems like the deno user doesn’t have permissions in /app. Also seems like your lockfile is outdated, it shouldn’t be trying to write (there are flags that alter that behavior also)
3 replies
DDeno
Created by jradxl on 9/30/2024 in #help
Deno import use for local files?
For the import map, just makes things cleaner, even in your new example instead of that the import could be just from "library" or whatever you name it I just tried with deno’s file-server from @std/http and it’s all working. And that’s with content type being some weird video format lol, maybe deno doesn’t care
11 replies
DDeno
Created by jradxl on 9/30/2024 in #help
Deno import use for local files?
The web server should work, I would use the import map in deno.json. How are you running the server? What’s the MIME type of the typescript file response?
11 replies
DDeno
Created by TJBlackman on 9/1/2024 in #help
Deno memory usage in Docker Container is crazy high...?
When I ran your commands they both used around 1Mb of mem. I don't see how yours could utilize such high mem when the only process started was sh
➜ docker stats
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
542bf8aae8fc deno-sh 0.00% 268KiB / 2.574GiB 0.01% 746B / 0B 0B / 0B 2
e1d463642376 node-sh 0.00% 1.73MiB / 2.574GiB 0.07% 746B / 0B 1.7MB / 0B 1
➜ docker stats
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
542bf8aae8fc deno-sh 0.00% 268KiB / 2.574GiB 0.01% 746B / 0B 0B / 0B 2
e1d463642376 node-sh 0.00% 1.73MiB / 2.574GiB 0.07% 746B / 0B 1.7MB / 0B 1
9 replies
DDeno
Created by Sheik on 8/23/2024 in #help
Angular SSR Deno
process can be imported from node:process
21 replies
DDeno
Created by Hasan Rimawi on 7/31/2024 in #help
Deno Install <>
DENO_FUTURE=1 deno install --help
DENO_FUTURE=1 deno install --help
6 replies
DDeno
Created by 🎀𝔸ℕ𝔾𝔼𝕃 𝔻𝕆𝕃𝕃𝔽𝔸ℂ𝔼🎀🇵🇸 on 7/25/2024 in #help
Renders in dev mode (locally) but not on Deno Deploy
Seems like the build directory doesn’t exist, I can’t tell how you’re deploying but did you build or enter the build command on deploy?
10 replies
DDeno
Created by coty on 6/27/2024 in #help
How to detect if executing on main thread vs worker
Thank you, the helps a ton
4 replies
DDeno
Created by 🎀𝔸ℕ𝔾𝔼𝕃 𝔻𝕆𝕃𝕃𝔽𝔸ℂ𝔼🎀🇵🇸 on 6/27/2024 in #help
HTTPS imports in browser breaking stuff.
Everyone wants deno bundle back 😂
41 replies
DDeno
Created by coty on 5/21/2024 in #help
Debug deno deploy failures ISOLATE_INTERNAL_FAILURE
I figured out it's because I was trying to use the declarative server
export default {
fetch(request: Request) {
return app.fetch(request);
},
};
export default {
fetch(request: Request) {
return app.fetch(request);
},
};
4 replies