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

webviewer-react immediately fails with error backtrace #5495

Open
phanikiranwtc opened this issue Mar 13, 2024 · 1 comment
Open

webviewer-react immediately fails with error backtrace #5495

phanikiranwtc opened this issue Mar 13, 2024 · 1 comment
Labels
🪳 bug Something isn't working 🕸️ web regarding running the viewer in a browser

Comments

@phanikiranwtc
Copy link

phanikiranwtc commented Mar 13, 2024

Describe the bug
webviwer-react package is not working, it throws compilation error as below

ERROR
attempted to open `` in a stopped viewer
    at WebViewer.open (http://localhost:3000/static/js/bundle.js:379616:15)
    at WebViewer.componentDidUpdate (http://localhost:3000/static/js/bundle.js:379373:202)
    at commitLayoutEffectOnFiber (http://localhost:3000/static/js/bundle.js:343379:34)
    at commitLayoutMountEffects_complete (http://localhost:3000/static/js/bundle.js:344520:13)
    at commitLayoutEffects_begin (http://localhost:3000/static/js/bundle.js:344509:11)
    at commitLayoutEffects (http://localhost:3000/static/js/bundle.js:344455:7)
    at commitRootImpl (http://localhost:3000/static/js/bundle.js:346365:9)
    at commitRoot (http://localhost:3000/static/js/bundle.js:346245:9)
    at finishConcurrentRender (http://localhost:3000/static/js/bundle.js:345642:13)
    at performConcurrentWorkOnRoot (http://localhost:3000/static/js/bundle.js:345493:11)`

I see issue #3983 exposed webviewer react package, and i see latest downloads as welll on the package but no issues can be found on the github or else where.

To Reproduce
Steps to reproduce the behavior:

  1. My application is developed with react 18.2.0 and imported the webviewer package of 0.14.1
  2. developed component as hown in the example and i run the application , it throws the above error.

Expected behavior
It should have show the webviewer in the component.

Desktop (please complete the following information):

  • OS: WIndows 10

Rerun version
Rerun webviewer react component package

Additional context
i see other package with vite+react, but this is forcing me to migrate my application (atleast) build process to vite, which is complicated for me.. As i am using other ui libraries in my application.

Any help on this to use the react or simple json component would be very help full.

@phanikiranwtc phanikiranwtc added 👀 needs triage This issue needs to be triaged by the Rerun team 🪳 bug Something isn't working labels Mar 13, 2024
@emilk emilk added 🕸️ web regarding running the viewer in a browser and removed 👀 needs triage This issue needs to be triaged by the Rerun team labels Mar 13, 2024
@Wumpf
Copy link
Member

Wumpf commented Oct 22, 2024

@phanikiranwtc apologies for the huge delay. We're having trouble reproing this, could you share a project/repo that makes it easy to demonstrate the issue?

@teh-cmc teh-cmc changed the title webviewer-react webviewer-react immediately fails with error backtrace Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🪳 bug Something isn't working 🕸️ web regarding running the viewer in a browser
Projects
None yet
Development

No branches or pull requests

3 participants