shultz🇮🇱
shultz🇮🇱
DDeno
Created by shultz🇮🇱 on 5/29/2024 in #help
Loading failed for the module with source “node:process” - island not hydrating
No description
5 replies
DDeno
Created by shultz🇮🇱 on 5/29/2024 in #help
preact/compat
Hi deno's AI bot, do you know how to set up preact/compat in a Fresh project?
6 replies
DDeno
Created by shultz🇮🇱 on 5/7/2024 in #help
npm specifier not found in LSP only, and so no types for certain imports
No description
11 replies
DDeno
Created by shultz🇮🇱 on 4/8/2024 in #help
finding unused exports
is there a way that works with deno to find unused exports in my project?
2 replies
DDeno
Created by shultz🇮🇱 on 3/18/2024 in #help
how to load env variables from .env file in task
the source shell command is not available. I tried
"tasks": {
"my-task": "export .env && my-command",
}
"tasks": {
"my-task": "export .env && my-command",
}
is that correct? it's not working now. Where can I see what commands are available in tasks?
4 replies
DDeno
Created by shultz🇮🇱 on 3/3/2024 in #help
deno cache isn't working from vscode
No description
2 replies
DDeno
Created by shultz🇮🇱 on 10/2/2023 in #help
typescript type definition for deno.json
Does it exist, and where can I get it?
4 replies
DDeno
Created by shultz🇮🇱 on 9/20/2023 in #help
Async execution context
Is there any way I can create a global that is unique to an async operation? I would like to use that for logging operation context. Or maybe just a built in way to get some kind ID of the current operation, as in for each task in the event loop getting a different ID, than I can use regular module context with the ID.
4 replies
DDeno
Created by shultz🇮🇱 on 9/6/2023 in #help
lsp bug?
Is there any reason why intellisense would identify the type correctly, but after completion it would be treated as any? is this a bug with deno? Type should be as intellisense shows.
3 replies
DDeno
Created by shultz🇮🇱 on 8/31/2023 in #help
setting module scope variable based on module import path
I have a big utilities file with many helper functions, mostly arround html parsing. Many of which take a locale argument ("en-UK"). The importing module knows the locale, so I would like to set globalThis.defaultLocale via the import path, something like import { util } from '/utilities.ts?locale=en-US'. Is it possible without generating the files per locale or invoking some "setDefualtLocale()" function at every importing module?
1 replies
DDeno
Created by shultz🇮🇱 on 7/29/2023 in #help
typescript compiler (38.24MB) included in bundle when importing google's npm:schema-dts
Not sure if this is a bug, but I couldn't see how the package imports the compiler. create a ts file with: import type { Accommodation } from "npm:schema-dts" deno info [file.ts] file.ts └─┬ npm:schema-dts@1.1.2 (857.9KB) └── npm:typescript@5.1.3 (38.24MB)
7 replies
DDeno
Created by shultz🇮🇱 on 7/29/2023 in #help
debug why a file is imported
I get a compilation error from a ts file that shouldn't be imported. How can I debug the import chain to see all the files that led to this file's import statement?
2 replies
DDeno
Created by shultz🇮🇱 on 5/1/2023 in #help
deno-deploy limits on file storage?
When deploying static files via deployctl, what are the storage limits / costs per GB? Couldn't find any reference to it.
1 replies
DDeno
Created by shultz🇮🇱 on 1/17/2023 in #help
xstate - no types imported
import * as xstate from "https://deno.land/x/xstate@xstate@4.35.2/src/index.ts"; file is cached, yet no types (restarted language server ext.) any ideas?
5 replies