lukeed
lukeed
Explore posts from servers
DDeno
Created by lukeed on 5/8/2024 in #help
deno w/ svelte kit
its issues during development & specifically w/ deno's LSP. it doesnt understand all the type aliases and stuff that SK is generating behind the scenes
9 replies
DDeno
Created by lukeed on 5/8/2024 in #help
deno w/ svelte kit
no, build is fine actually as long as youre not using prerendering. thats when SK needs the module cache
9 replies
DDeno
Created by lukeed on 5/8/2024 in #help
deno w/ svelte kit
additionally, SK's internal aliases (eg, $app/... and $env/...) arent picked up
9 replies
DDeno
Created by lukeed on 5/8/2024 in #help
deno w/ svelte kit
this is the error given, for example:
Unable to load a local module: file:///Users/lukeed/repos/work/deno-sk/src/routes/sverdle/$types
Please check the file path.deno(no-local)
Resolved Dependency

Types: file​:///Users/lukeed/repos/work/deno-sk/src/routes/sverdle/$types
Unable to load a local module: file:///Users/lukeed/repos/work/deno-sk/src/routes/sverdle/$types
Please check the file path.deno(no-local)
Resolved Dependency

Types: file​:///Users/lukeed/repos/work/deno-sk/src/routes/sverdle/$types
9 replies
DDeno
Created by THERAS_ on 4/25/2024 in #help
Buffer.from equivalent in deno?
6 replies
DDeno
Created by THERAS_ on 4/25/2024 in #help
Buffer.from equivalent in deno?
But if you wanted to emulate it with pure Web APIs then have a look at this: https://github.com/lukeed/worktop/blob/836f00bd03addf258b93ea40ebd7e6342bc0d6e7/packages/worktop/src/buffer.ts#L98
6 replies
DDeno
Created by THERAS_ on 4/25/2024 in #help
Buffer.from equivalent in deno?
Yeah there’s the compat layer
6 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
otherwise the old lsp will still be running
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
make sure you restart vscode or reload workspace after doing the canary upgrade
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
ya, by default (i think still) you dont need it if there's a deno.json file in your project root
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
seems to be working great, thanks @nayeemrmn @bartlomieju! (even without workspace config anywhere)
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
( it's also not in the json schema for deno.json definition, so vscode isnt suggesting the key )
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
nope, didnt know it existed haha. again, it was jsut a structure i imported/started doing & it happened to work
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
which is why this latest upgrade blew up on me 😅
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
all my deno projects are monorepos / "workspaces"
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
happy to give addl feedack as you continue working thru them
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
eg, theres only 1 mention of workspace on this page https://github.com/denoland/deno/releases & ~2 hours spent diving thru issues, comments, blog & docs only yielded https://github.com/denoland/vscode_deno/issues/1099#issuecomment-2028790434 as closest result
78 replies
DDeno
Created by MOtherMetroid on 4/20/2024 in #help
Deno.enable not working
i guess my final feedback here is that 1) im rly loving deno; but 2) in trying to chase this down since last night, ive realized that an area where Deno could/should improve is maintaining an actual changelog
78 replies