question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[backstage-plugin-github-insights] Error trying to view plugin widgets

See original GitHub issue

After updating Backstage dependencies, I’m getting the following error on the latest version of the GitHub insights plugin.

Error: A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.
    at invariant (webpack-internal:///../../node_modules/@roadiehq/backstage-plugin-github-insights/node_modules/react-router/index.js:52:20)
    at Route (webpack-internal:///../../node_modules/@roadiehq/backstage-plugin-github-insights/node_modules/react-router/index.js:180:12)
    at renderWithHooks (webpack-internal:///../../node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:14804:18)
    at mountIndeterminateComponent (webpack-internal:///../../node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:17483:13)
    at beginWork (webpack-internal:///../../node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:18597:16)
    at HTMLUnknownElement.callCallback (webpack-internal:///../../node_modules/@hot-loader/react-dom/cjs/react-dom.development.js:189:14)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tatounelcommented, Sep 23, 2021

Thank you so much @Irma12, it works now!

1reaction
tatounelcommented, Sep 22, 2021

Hi @Irma12, Thank you for looking into this! Yes, we have been using it for months. I updated our Backstage dependencies and then upgraded the insights plugin from 1.1.22 to 1.1.24 and that’s when I noticed the error. Tried to go back to 1.1.22 but still got the error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Plugin] Tech Insights · Issue #2723 · backstage ... - GitHub
I can see the presentation and data model being something that could be generalized. However, the process of populating the model for specific ......
Read more >
roadiehq/backstage-plugin-github-insights - npm
Add GitHub Insights plugin tab. Show widgets about repository contributors, languages, readme and release at overview page. Plugin Setup. Install the plugin:.
Read more >
Backstage GitHub Insights Plugin - Roadie.io
... Insights Plugin. See GitHub Insights for your components in Backstage ... Don't want to spend your time installing and upgrading Backstage plugins?...
Read more >
Community Session: Box debuts their Backstage developer ...
Watch the videos to get a first look at Box's new developer portal, including a demo of their custom plugin for Prefect workflows....
Read more >
Backstage - Datadog Docs
cd packages/app yarn add @roadiehq/backstage-plugin-datadog. Add the Datadog plugin widget to your Backstage Overview tab. See the detailed instructions for ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found