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

Can't display Harbor widget #229

Open
johanhammar opened this issue May 23, 2023 · 5 comments
Open

Can't display Harbor widget #229

johanhammar opened this issue May 23, 2023 · 5 comments

Comments

@johanhammar
Copy link
Contributor

The Harbor widget fails to render with an error message

C.pointer.transition is not a function

and the stackstrace (slightly redacted)

Q@<url>/static/227.d112cd9d.chunk.js:62:25596
value@<url>/static/227.d112cd9d.chunk.js:62:34927
value@<url>/static/227.d112cd9d.chunk.js:62:34480
Ya@<url>/static/module-react-dom.148176ee.js:14:1673
qa@<url>/static/module-react-dom.148176ee.js:16:5030
46475/P.unstable_runWithPriority@<url>/static/vendor.3eb075c9.js:153:3989
Ze@<url>/static/module-react-dom.148176ee.js:12:38480
nn@<url>/static/module-react-dom.148176ee.js:16:1809
Si@<url>/static/module-react-dom.148176ee.js:14:11069
52967/ao/<@<url>/static/module-react-dom.148176ee.js:12:38702
46475/P.unstable_runWithPriority@<url>/static/vendor.3eb075c9.js:153:3989
Ze@<url>/static/module-react-dom.148176ee.js:12:38480
ao@<url>/static/module-react-dom.148176ee.js:12:38650
ae@<url>/static/module-react-dom.148176ee.js:12:38583
Fe@<url>/static/module-react-dom.148176ee.js:14:8443
bl@<url>/static/module-react-dom.148176ee.js:12:58145
87617/G/H</<@<url>/static/227.d112cd9d.chunk.js:1:773

Environment: Backstage 1.14.0 & 1.13.2

@jfrverdasca
Copy link

I have the same problem here. Does anyone know how to fix this or any workarounds?

@marct83
Copy link

marct83 commented Aug 4, 2023

Anyone get this to work?

@marct83
Copy link

marct83 commented Aug 4, 2023

Add this to your /packages/app/package.json

"d3-selection": "^2",
"d3-transition": "^2"

It will fix it

@Vad1mo
Copy link
Collaborator

Vad1mo commented Aug 5, 2023

Can you provide this as a PR happy to accept it

@locomoco28
Copy link
Collaborator

Add this to your /packages/app/package.json

"d3-selection": "^2",
"d3-transition": "^2"

It will fix it

Thanks, that's exactly what I needed. Took me a while to get this working...

yarn add command:

yarn --cwd packages/app add d3-selection@^2 d3-transition@^2

locomoco28 added a commit to locomoco28/backstage-plugin-harbor that referenced this issue Sep 13, 2023
Vad1mo added a commit that referenced this issue Sep 13, 2023
fix: Can't display Harbor widget #229
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

5 participants