Jonas
Jonas
Explore posts from servers
NNuxt
Created by Jonas on 2/13/2025 in #❓・help
Is it possible to make a Promise globally available on every page?
Do I have to make a webhook instead?
28 replies
NNuxt
Created by Jonas on 2/13/2025 in #❓・help
Is it possible to make a Promise globally available on every page?
Guys, is this even possible?
28 replies
NNuxt
Created by Jonas on 2/13/2025 in #❓・help
Is it possible to make a Promise globally available on every page?
@kapa.ai I still have no idea of how to implement this.
28 replies
NNuxt
Created by Jonas on 2/13/2025 in #❓・help
Is it possible to make a Promise globally available on every page?
@kapa.ai could I use nuxtApp._asyncDataPromises?
28 replies
NNuxt
Created by Jonas on 2/13/2025 in #❓・help
Is it possible to make a Promise globally available on every page?
@kapa.ai What are _islandPromises?
28 replies
NNuxt
Created by Jonas on 2/13/2025 in #❓・help
Is it possible to make a Promise globally available on every page?
.
28 replies
NNuxt
Created by Jonas on 2/13/2025 in #❓・help
Is it possible to make a Promise globally available on every page?
@kapa.ai Could you help me with the plugins?
28 replies
NNuxt
Created by Jonas on 2/13/2025 in #❓・help
Is it possible to make a Promise globally available on every page?
@kapa.ai I put the plugin in "plugins" but the types are not available. 'nuxtApp.$globalPromise' is of type 'unknown'.ts(18046)
28 replies
NNuxt
Created by Jonas on 2/13/2025 in #❓・help
Is it possible to make a Promise globally available on every page?
@kapa.ai 'nuxtApp.$globalPromise' is of type 'unknown'.ts(18046)
28 replies
NNuxt
Created by Jonas on 10/14/2024 in #❓・help
ERROR Pre-transform error: [unimport] failed to find "useUserSession" imported from "#imports"
Use auto-importing (do not import it manually) or import it from somewhere else. Don't import from #imports. It could also be, that you imported it in the backend and not in the frontend (nitro and not nuxt).
4 replies
NNuxt
Created by Jonas on 11/1/2024 in #❓・help
How do I specify redis kv storage for production?
That was the problem! Thank you! Great videos btw. :).
103 replies
NNuxt
Created by Jonas on 11/1/2024 in #❓・help
How do I specify redis kv storage for production?
nevermind. the only thing that worked is the vercelKVDriver driver somehow. it looked like it worked, but it just used the fallback...
103 replies
NNuxt
Created by Jonas on 11/1/2024 in #❓・help
How do I specify redis kv storage for production?
Can be set as query parameter like so: ?family=6
103 replies
NNuxt
Created by Jonas on 11/1/2024 in #❓・help
How do I specify redis kv storage for production?
103 replies
NNuxt
Created by Jonas on 11/1/2024 in #❓・help
How do I specify redis kv storage for production?
Okay: This is the issue: Try setting family: 6; for some reason ioredis defaults to family: 4 and AWS may be using (only) IPv6. Note I had the same issue on fly.io.
103 replies
NNuxt
Created by Jonas on 11/1/2024 in #❓・help
How do I specify redis kv storage for production?
Seems to be an issue with ioredis and upstash. I used upstash with "redis" and a connection url in the past which worked fine. I might have to use it with the parameters host, port etc. instead.
103 replies
NNuxt
Created by Jonas on 11/1/2024 in #❓・help
How do I specify redis kv storage for production?
This is what I get now: Okay, I will try to create a new database...
ERROR [ioredis] Unhandled error event: Error: getaddrinfo EAI_FAIL redis://default:[email protected]:6379
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26)
at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17)
ERROR [ioredis] Unhandled error event: Error: getaddrinfo EAI_FAIL redis://default:[email protected]:6379
at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26)
at GetAddrInfoReqWrap.callbackTrampoline (node:internal/async_hooks:130:17)
103 replies
NNuxt
Created by Jonas on 11/1/2024 in #❓・help
How do I specify redis kv storage for production?
103 replies
NNuxt
Created by Jonas on 11/1/2024 in #❓・help
How do I specify redis kv storage for production?
It just times out.
103 replies
NNuxt
Created by Jonas on 11/1/2024 in #❓・help
How do I specify redis kv storage for production?
I don't think I want to. I just need that one base, which I called "db".
103 replies