Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Not showing data for self hosted Gitlab #290

Open
SnehaTrivedi1 opened this issue Apr 13, 2023 · 2 comments
Open

Not showing data for self hosted Gitlab #290

SnehaTrivedi1 opened this issue Apr 13, 2023 · 2 comments

Comments

@SnehaTrivedi1
Copy link

When I am setting up plugin for self hosted gitlab and not gitlab.com It is giving below error message:
Error useLocation() may be used only in the context of a <Router> component. Call Stack  l   node_modules/@loblaw/backstage-plugin-gitlab/node_modules/react-router-dom/node_modules/react-router/index.js:30:286  H   node_modules/@loblaw/backstage-plugin-gitlab/node_modules/react-router-dom/node_modules/react-router/index.js:39:299  useRouteRef   node_modules/@loblaw/backstage-plugin-gitlab/node_modules/@backstage/core-plugin-api/dist/index.esm.js:445:85  RoutableExtensionWrapper   node_modules/@loblaw/backstage-plugin-gitlab/node_modules/@backstage/core-plugin-api/dist/index.esm.js:528:15  renderWithHooks   node_modules/react-dom/cjs/react-dom.development.js:14985:18  updateFunctionComponent   node_modules/react-dom/cjs/react-dom.development.js:17356:20  mountLazyComponent   node_modules/react-dom/cjs/react-dom.development.js:17677:17  beginWork   node_modules/react-dom/cjs/react-dom.development.js:19055:16  HTMLUnknownElement.callCallback   node_modules/react-dom/cjs/react-dom.development.js:3945:14  Object.invokeGuardedCallbackDev   node_modules/react-dom/cjs/react-dom.development.js:3994:16

@JellyBellyDev
Copy link

Hi @SnehaTrivedi1
I suggest you switch to the new official plugin: https://github.com/immobiliare/backstage-plugin-gitlab ;)

@SnehaTrivedi1
Copy link
Author

SnehaTrivedi1 commented Apr 13, 2023 via email

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

No branches or pull requests

2 participants