You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I had started with that plugin. But I was facing lot of issues in it regarding types.ts and utils.ts . I Will again try it tomorrow
Sent from Outlook for iOS<https://aka.ms/o0ukef>
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
The text was updated successfully, but these errors were encountered: