2saturdayscode
2saturdayscode
DDeno
Created by artpods56 on 11/17/2024 in #help
Cant configure Tailwind with DaisyUI using Deno inside of Docker | Error: Cannot find module daisyui
Try add this to your deno.json config:
"nodeModulesDir": "auto",
"nodeModulesDir": "auto",
3 replies
DDeno
Created by artpods56 on 11/17/2024 in #help
Cant configure Tailwind with DaisyUI using Deno inside of Docker | Error: Cannot find module daisyui
I guess that tailwind tries to look into node_modules folder to resolve daisyui but it doesn't find it because deno does not use the node_modules dir
3 replies
DDeno
Created by staytuned_team on 11/15/2024 in #help
Issue with deno emit bundle in Workspaces - Need Help and Documentation
I suggest to you that you use esbuild instead of that package
7 replies
DDeno
Created by staytuned_team on 11/15/2024 in #help
Issue with deno emit bundle in Workspaces - Need Help and Documentation
I'm sorry, here I am, I see you are talking about the deno emit package, I have no experience with since I think it's still in a very early phase
7 replies
DDeno
Created by cathalogrady on 11/15/2024 in #help
Access project dependency through Deno API
let me know if you are stuck
8 replies
DDeno
Created by cathalogrady on 11/15/2024 in #help
Access project dependency through Deno API
Also I've made a rewrite of that plugin, I'd be glad if you tried it out: https://github.com/twosaturdayscode/esbuild-deno-plugin
8 replies
DDeno
Created by cathalogrady on 11/15/2024 in #help
Access project dependency through Deno API
yeah that's because esbuild is tailored for node projects, but fortunately esbuild supports plugin to extend its functionalities, try using this plugin: https://github.com/lucacasonato/esbuild_deno_loader/
8 replies
DDeno
Created by staytuned_team on 11/15/2024 in #help
Issue with deno emit bundle in Workspaces - Need Help and Documentation
Are you talking about the deno cli commandd?
7 replies
DDeno
Created by cathalogrady on 11/15/2024 in #help
Access project dependency through Deno API
Can you specify which issue are incurring in? Is your project a Deno project? If so, esbuild won't be capable to resolve and load your imports.
8 replies
DDeno
Created by MelodyMaker on 8/30/2024 in #help
How to resolve an import statement in Deno
I think that it does not make sense the switch for you, if your project is already tied that much to the Node runtime it really does not make sense to switch
16 replies
DDeno
Created by siriustherecklessking on 9/1/2024 in #help
S is Not Async Iterable
6 replies
DDeno
Created by siriustherecklessking on 9/1/2024 in #help
S is Not Async Iterable
third all the @std packages are on jsr now so don't use deno.land https://jsr.io/@std
6 replies
DDeno
Created by siriustherecklessking on 9/1/2024 in #help
S is Not Async Iterable
second a copy paste of the code would have been better than pictures, just open discord from the broswer
6 replies
DDeno
Created by siriustherecklessking on 9/1/2024 in #help
S is Not Async Iterable
First of all serve returns Promise<void> so I dont know why do you expect it to work
6 replies
DDeno
Created by MelodyMaker on 8/30/2024 in #help
How to resolve an import statement in Deno
also I've found that maybe you can can omit file extension by enabling an unstable feature in the deno config file like this
{
"unstable": ["unstable-sloppy-imports"]
}
{
"unstable": ["unstable-sloppy-imports"]
}
Read more about it here: https://docs.deno.com/runtime/manual/tools/unstable_flags/#--unstable-sloppy-imports
16 replies
DDeno
Created by MelodyMaker on 8/30/2024 in #help
How to resolve an import statement in Deno
ctrl+shift+p and write something like "deno restart"
16 replies
DDeno
Created by MelodyMaker on 8/30/2024 in #help
How to resolve an import statement in Deno
try restarting the deno server language
16 replies
DDeno
Created by MelodyMaker on 8/30/2024 in #help
How to resolve an import statement in Deno
Uhmmm this is very strange it should work
16 replies
DDeno
Created by MelodyMaker on 8/30/2024 in #help
How to resolve an import statement in Deno
Can you show me the deno.jsonc?
16 replies
DDeno
Created by MelodyMaker on 8/30/2024 in #help
How to resolve an import statement in Deno
For the latter it's not possible, file extension must be explicit
16 replies