Skip to content

Next.Js does not recognize api route #384

Closed Answered by Complexlity
Kennybabs-py asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, as for the first point, you'd get a blank page because frames are rendered as metatags along.
To see the page, go to http://localhost:3000/api/dev

As for the required types error, I have faced this a few times, I found that It most times had to do with imports. I'm not entirely sure what triggers it or not. One thing you could do which helped in those cases was regenerating a frog project from scratch and copying the code in while ensuring it works. That'll help you figure what triggers the error

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dalechyn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants