t3 app in turborepo now throws 404 error when accessing root
hello. I created a new t3 app instance in turborepo and after making a number of changes, just out of nowhere do I just get these random 404 errors. I tried to create a new t3 app as well as a new next app and copy the root layout and page files to isolate the issue, but I'm getting a 404 error. I also tried deleting the
.next
directory. The issue I'm getting is the one in the attachment. I was able to create a fresh app out of the turborepo monorepo and fix the issue that way, but I'd rather hang onto my commit history instead of practically nuking it by switching my turborepo into a non turborepo project. Thanks!4 Replies
you should show some files for people to help
next.config.js
package.json
turbo.json
[tprc].tsx
utils/api.ts
sure. my
next.config.mjs
my package.json
my turbo.json
no trpc.tsx nor a utils/api.tswhy are you on port
3002
? you dont have any config to change the next default portI wanted to pin the port to 3002 since I was using the Discord Oauth and already committed to that port
strangely, the problem just went away