Birk Skyum
Birk Skyum
DDeno
Created by Birk Skyum on 9/10/2024 in #help
canary `deno install` - can't find npm modules
Aha! Turns out adding the ""nodeModulesDir": "auto"," in the deno.json, and running deno install does wonders here.
7 replies
DDeno
Created by Birk Skyum on 9/10/2024 in #help
canary `deno install` - can't find npm modules
And thank you for that - I'd totally missed that
7 replies
DDeno
Created by Birk Skyum on 9/10/2024 in #help
canary `deno install` - can't find npm modules
No description
7 replies
DDeno
Created by Birk Skyum on 9/10/2024 in #help
canary `deno install` - can't find npm modules
Oh, right! So now I get "Error: Cannot find module 'vitest/config'" Should I setup-up import mapping for that as well next to the one for "vitest"
7 replies
DDeno
Created by Thomas on 7/20/2024 in #help
Demo for Desktop App
I hope when Deno 2 lands, and the DENO_FUTURE=1 is baked in, that it'll be easier to assess the preliminary Tauri support that does exist at this point. Haven't tried using it much with deno yet though, but some pieces appear to work - https://github.com/denoland/deno/issues/20738
10 replies
DDeno
Created by lukeed on 5/8/2024 in #help
deno w/ svelte kit
This PR will fix a few sveltekit related issues, so I'll help reassess the situation when it's in https://github.com/denoland/deno/pull/23634
9 replies
DDeno
Created by lukeed on 5/8/2024 in #help
deno w/ svelte kit
When does it happen? During build?
9 replies
DDeno
Created by Kitamado on 9/23/2023 in #help
migrate from node to deno: p5js project
Very annoying. Deno unfortunately isn't mature for frontend stuff yet
16 replies
DDeno
Created by Kitamado on 9/23/2023 in #help
migrate from node to deno: p5js project
Hope that helps
16 replies
DDeno
Created by Kitamado on 9/23/2023 in #help
migrate from node to deno: p5js project
It's mentioned here that the .ts is required: https://github.com/denoland/deno/issues/2506#issuecomment-501223236
16 replies
DDeno
Created by Kitamado on 9/23/2023 in #help
migrate from node to deno: p5js project
Right, it could be a missing file extension. In index.tsx, try importing "./constants.ts"; instead of "./constants";
16 replies
DDeno
Created by Kitamado on 9/23/2023 in #help
migrate from node to deno: p5js project
I made a small PR here that I think will help you https://github.com/Seasawher/game-of-life/pull/2/files
16 replies
DDeno
Created by Kitamado on 9/23/2023 in #help
migrate from node to deno: p5js project
No, it's possible to use these things together. Here's i.e. a setup with p5 / vitejs running with deno. https://github.com/birkskyum/deno-p5-vanilla
16 replies
DDeno
Created by Kitamado on 9/23/2023 in #help
migrate from node to deno: p5js project
Hi @seasawher , when this ticket is resolved https://github.com/denoland/deno/issues/20613, you should be able to simply do deno task dev, and maybe make small correction to the package.json/deno.json. Deno is great at server stuff, but it's still lacking a lot of npm/node compat in the frontend space. Not sure if there's some deno-native api's you can use for this instead, since the deno run and deno bundle doesn't accept a .html file in the same was Parcel does.
16 replies
DDeno
Created by mrk on 9/20/2023 in #help
Deno-native Nuxt.js?
No description
7 replies
DDeno
Created by mrk on 9/20/2023 in #help
Deno-native Nuxt.js?
@kevinwhinnery , sound like a great plan!
7 replies