krml
krml
DDeno
Created by w7a9q on 12/9/2024 in #help
Zed code completion
I mostly put it in the .zed/settings.json in my project. This way I can still "normally" run other Typescript based projects
5 replies
DDeno
Created by w7a9q on 12/9/2024 in #help
Zed code completion
Where did you put that configuration? I'm using Zed and Deno, and after some fiddling it works most of the time
5 replies
DDeno
Created by DragoSpiro98 on 10/16/2024 in #help
Deno add from different sources (like JSR) doesn't works?
5 replies
DDeno
Created by DragoSpiro98 on 10/16/2024 in #help
Deno add from different sources (like JSR) doesn't works?
I'm seeing the error as well. You have it in the https://docs.deno.com/runtime/tutorials/how_to_with_npm/react/ tutorial right?
5 replies
DDeno
Created by DragoSpiro98 on 10/16/2024 in #help
Deno add from different sources (like JSR) doesn't works?
Hey, what version of Deno do you use? You can check that via deno --version. And what is your directory setup. Is it a newly created directory?
5 replies
DDeno
Created by rahulpaul12 on 10/16/2024 in #help
As a JS beginner, should I learn Node.js first or go straight to Deno 2?
As Erdem mentioned: It should not matter. The language should be the same. As you're starting out chose whatever interests you more. There should be more examples out there that are written for Node. However those example should be easily "translated" for Deno as well. One question: What would you like to build or do you plan on following tutorials / examples first? ☺️
10 replies
DDeno
Created by Swyftey on 9/30/2024 in #help
Deno 2.0 displaying red-line errors in my typescript code, but they were non-breaking?
Can you give us an example Repo or code snippet to reproduce this?
2 replies
DDeno
Created by SabaMazmishvili on 5/3/2024 in #help
I cant install deno by running this command: curl -fsSL https://deno.land/install.sh | sh
So what’s the error you get?
12 replies
DDeno
Created by krml on 2/7/2024 in #help
Fresh project next to regular Deno project
To whoever will find this. The solution is setting // <reference lib="deno.unstable" />in the main.ts file of Fresh. The reason for that is, that Fresh sets /// <reference no-default-lib="true" /> which seems to remove the Deno global (https://github.com/denoland/deno/issues/20420). This comment helped me a lot: https://github.com/denoland/deno/issues/20248#issuecomment-1689881374
5 replies
DDeno
Created by krml on 2/7/2024 in #help
Fresh project next to regular Deno project
Thats pretty much everything I already did
5 replies
DDeno
Created by krml on 11/21/2023 in #help
tidy up `deno.lock`
Sounds like a plan, feels like a good enough solution since the result is what I want anyway. Thanks!
5 replies
DDeno
Created by wedmaniac on 10/24/2023 in #help
How do I import the stripe SDK into my fresh.js project
You might have a look at the saaskit project. We use stripe as a payment provider there. It is imported in the deno.json via a npm import: https://github.com/denoland/saaskit/blob/main/deno.json How it is then implemented you can find here: https://github.com/denoland/saaskit/blob/main/utils/stripe.ts
4 replies