Polaris
Polaris
DDeno
Created by Charlie on 12/31/2024 in #help
Nextjs 15 with prisma/sqlite failing at eventLoopTick
Did you find a way to fix this? Facing the same issue
8 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
will look deeper into this then, thanks!
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
Thanks - hopefully this goes well 🤞
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
Did some further research and the way forward seems to be to not use the Deno extension in VSCode for this use case. Can't fully migrate to a Deno.json as there seem to be a few default compiler options in the project's tscofing that can't be mapped in Deno.json? (can be wrong here) The workaround seems to be to just add @types/deno as a dev dependency in package.json (https://www.reddit.com/r/Deno/s/oW20RKgbbI) Also, had to remove the initial node_modules and package.lock.json and run deno install as the next cli seems to run npm install during the init process. Things seem good so far with this workaround
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
yep
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
Some people on the team are very bullish on Deno, plus it's an internal tool so they are willing to take a bet - I've been tasked with setting the initial project up 😅
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
Since this is not a personal project, I don't have much flexibility on the stack unfortunately - but I'll definately check out Fresh at a later point 🙂
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
I'll take a shot at this using an LLM first I guess, sounds like an apt task for AI 😅 Will do it manually if that doesn't work out
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
I guess I'll do this then - thanks for the guidance.
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
is there a cli to convert package.json to deno.json by any chance?
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
No description
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
I am able to use Deno.env for example
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
Imports are working as expected, auto complete is missing all the Deno stuff 😦 But Deno specific code is running, and the IDE isn't complaining about it being there - kind of absurd.
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
Yes
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
No description
34 replies
DDeno
Created by Polaris on 12/20/2024 in #help
Creating Deno.json wrecks Next.js project
To recreate: (using VSCode as the IDE, not sure if this is IDE specific) Create a Next.js Project (use all defaults): deno run -A npm:create-next-app@latest cd into the project directory and initialize shadcn (you may use all defaults): deno -A npm:shadcn@latest init Add something: deno run -A npm:shadcn@latest add login-03 At this point run the project and glance through code, everything should be fine. deno task dev Now create an empty deno.json in the root and save the file. You'll see a bunch of errors emerge in the IDE, project will work fine if you try to run it.
34 replies