strapi / nextjs-corporate-starter

Strapi Demo application for Corporate Websites using Next.js
MIT License
955 stars 285 forks source link

Issues on development environment in other languages #124

Open rengert opened 2 months ago

rengert commented 2 months ago

Great starter, but i got the error in frontend

Uncaught Error: invariant expected app router to be mounted at useRouter"

I set up it several time using the readme and video tutorial.

At the end of the story, the issue was, that the startup used the locale "de" but nothing was available. Maybe the error message should be adapted or ensure the starter is working on all machines.

PaulBratslavsky commented 2 months ago

@rengert thank you for the comment. Will look into it, and update if locale is not set to throw a more appropriate error.