Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Admin UI dashboard not rendering #802

Closed
nathsimpson opened this issue Mar 10, 2019 · 2 comments
Closed

Admin UI dashboard not rendering #802

nathsimpson opened this issue Mar 10, 2019 · 2 comments
Assignees

Comments

@nathsimpson
Copy link
Contributor

After porting a personal project of mine from the voussoir to keystone-alpha packages, I signed in to the admin ui successfully. However, as I was redirected to the dashboard of the admin ui, my screen went white and I received this error in the console...

tiny-invariant.esm.js:11 Uncaught Error: Invariant failed: You should not use <Route> outside a <Router>

WORKAROUND:
@mitchellhamilton recommended that I add the following snippit to my package.json, once I did so and ran yarn again, everything performed as expected. I'm happy to show anyone at Thinkmill my repo.

  "resolutions": {
    "**/react-router-dom/react-router": "4.4.0-beta.6"
  },
@camcnz
Copy link

camcnz commented Mar 12, 2019

I am getting a similar error running the setup from readme.

tiny-invariant.esm.js:11 Uncaught Error: Invariant failed: You should not use <Link> outside a <Router>

@MichaelZaporozhets
Copy link
Contributor

@nathsimpson @JedWatson This issue appears to be back as of react-router/react-router-dom's bump to v5

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants