11 Replies
Could you share a repo so i can reproduce your issue?
OK thank you, please here is the link https://github.com/GodwinAdu/pdf-pro.git
GitHub
GitHub - GodwinAdu/pdf-pro
Contribute to GodwinAdu/pdf-pro development by creating an account on GitHub.
Please the problem is is the provider.TS.....; path @/components/Provider
this is some of the error messages,: Unreachable code detected.ts(7027)
'QueryClientProvider' refers to a value, but is being used as a type here. Did you mean 'typeof QueryClientProvider'?ts(2749)
But I followed the trpc docs. Please me🙏🙏🙏
I'll check it out in about an hour or so
Oh actually, can you try saving it as a tsx file instead of a ts file?
Files containing JSX should have a
.jsx
or .tsx
extension.Ok
Did it work?
Hello please it works, thank you soo much
Can I be your friend, I am self learner to become web developer
but boss im still having problem the application
i will behave if you can help me resolve it
Error in the try block: TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11522:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
cause: ConnectTimeoutError: Connect Timeout Error
at onConnectTimeout (node:internal/deps/undici/undici:8472:28)
at node:internal/deps/undici/undici:8430:50
at Immediate._onImmediate (node:internal/deps/undici/undici:8459:37)
at process.processImmediate (node:internal/timers:478:21)
at process.callbackTrampoline (node:internal/async_hooks:130:17) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
}
the error is from the @/app/uploadthing/core.ts the fetch in the try block dont work and i dont know what to do again. i hope you can help me that please thank you