loblaw-sre / backstage-plugin-gitlab

Backstage plugin for Gitlab
52 stars 31 forks source link

Plugin broken with backstage version 1.6.0 #202

Closed djetelina closed 1 year ago

djetelina commented 1 year ago

Hey,

reproduce steps are pretty simple. Using node 16, running backstage create-app, then adding backstage-plugin-gitlab. Try to run the app through yarn dev. On page load, you get greeted with the following:

useLocation() may be used only in the context of a <Router> component.

Making backstage break completely, not just non-working plugin.

I'm assuming something broke with some newer version of something. I'm experimenting with backstage for the first time, so I can't help identify when.

djetelina commented 1 year ago

Nevermind me, I found https://github.com/loblaw-sre/backstage-plugin-gitlab/pull/190