Greenman999
Explore posts from serversCCoder.com
•Created by Greenman999 on 1/21/2025 in #help
Devcontainer starting is taking really long / multiple times building the Dockerfile?
Hi,
I have created a template from the starter "Docker (Devcontainer)" one and just selected home assistant for testing purposes. Creating the workspace takes really long and from the logs it seems like its building the dockerfile multiple times? Is this intended?
17 replies
CCoder.com
•Created by Greenman999 on 1/15/2025 in #help
Terminal Theme
Hi is there a way to change the terminal theme of workspaces?
7 replies
Error Boundary does not catch errors of the resource
Hello, I have a resource created and access it inside a suspense inside an error boundary, but if the resource throws an error, e.g. no network, then the error boundary does not catch this and the suspense fallback gets displayed. Why?
32 replies
How to prevent Server Error if no req body?
Hi I have this code:
If no json is passed in the body i get this error:
[ERROR] SyntaxError: Unexpected end of JSON input
Is there anyway to replace this with my own error message?
Like the one in my code ^ ?5 replies
custom css classes not applied somehow
Hi,
i have this code:
alert.type
is success
and with daisyui and tailwindcss the div should have a green background color. However the div is colored like default just like alert-success
wasnt there. If i manually add alert-success
to the class prop it works. If I remove it after the concatinated version works somehow..
Can someone help me?2 replies
Display relative time as signal
Hi,
I want to display the relative time of a date. I have this file:
but if i run the
relativeTimeFromDates(new Date(2024, 9, 19, 14, 30))
inside of the html part it does not update when a minute more has passed and the output of the function should change. Solid does not react to this. How can i fix this? Do i need to wrap the function in something?
Thanks!7 replies
DTDrizzle Team
•Created by Greenman999 on 6/21/2024 in #help
`Argument of type 'SQL<unknown>' is not assignable to parameter of type 'IndexColumn'.`
Hello I am creating a schema like this guide (https://orm.drizzle.team/learn/guides/unique-case-insensitive-email) but i get the error in the title on
.on(lower(table.email))
.
This is my code:
2 replies