Ryan The Temp
Explore posts from serversWhich of these is the correct way to fetch?
When is the correct way to do a $fetch with parameters:
A: data is:
globalThis.Ref<unknown, unknown>
B: data is: globalThis.Ref<Simplify<SerializeObject<{..... />
(correct)
A works if I just cast everything to any, but I lose all types.
B also works, but it looks weird that I have to have an :id
and declare a params
😕3 replies
Type errors being thrown from `nuxt-content`
I'm not sure if this is
nuxt-content
related or not. It could be nuxt and/or vue, since both got a version bump.
during nuxi typecheck
I get these errors:
Looking at the source code for that file here: https://github.com/nuxt-modules/mdc/blob/main/src/runtime/components/prose/ProseH6.vue
its pertty straight foward.
I'm thinking is prop
access like that not supported anymore?1 replies
How do you set the cookie domain?
I've setup a hosts entry for local development for
app.local
Now I'm running nuxt with nuxt dev --host app.local
The problem is that when I use setCookie
from h3 its still creating the cookie for the localhost
domain. Is there a way to change this?3 replies
Build hangs after success
When Run
nuxt build
it seems to hang after it finishes. The last output is:
#13 158.8 [success] [nitro] You can preview this build using node .output/server/index.mjs
If I manually kill the process with CMD+C
and run nuxt preview
i'm able to run the built app.
The problem is that in the CI environment, it would just hang forever and eventually timeout.
Any idea what is the problem? Can turn on verbose logging to see what exactly is hanging on?1 replies
Google oauth redirect_uri_mismatch
Is there way to get google oauth to work? I'm running into weird issues related to the callback during the redirect.
If I understand, railway proxies things in a special way, which causes the issue.
I read in another post that changing the url to
http
rather than https
solves the problem, but that isn't a good workaround because google requires clients that are in production to be https
.18 replies
Database becomes constantly unreachable or times out due to pg adivisory lock
I'm using prisma, and before starting the application, I run the prisma migrations.
It periodically crashes when I do a new deploy. The workaround seems to be redeploy the database service.
Am I doing something wrong here?
4 replies
Application failed to respond for a few seconds after deploy
I have this recurring issue where every time I do a deploy, its successful, but when I check the domain, I get a
Application failed to respond
message from Railway.
I keep refreshing a couple of times, and then it finally loads the newly deployed app. It's as if the deployment is published before it is ready, even though the logs indicate that the server is listening
Any idea what is going on? I tried playing with the health check settings, but it didn't help.22 replies
Is there a way to pass an extra flag to the `install` command?
Is there a way in
Nixpacks
to pass an extra flag? For example, I would like to skip the postInstall
when running pnpm install
and add the --ignore-scripts
flag.
Is there a way to do that in railway.toml
?23 replies