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

Robj construction for this JS object is not yet supported #98

Open
chuyaowang opened this issue Jan 21, 2024 · 3 comments
Open

Robj construction for this JS object is not yet supported #98

chuyaowang opened this issue Jan 21, 2024 · 3 comments

Comments

@chuyaowang
Copy link

I am having trouble starting the app on my local machine. The error message says Error starting the app! Robj construction for this JS object is not yet supported. There is no indication of which js object it is. I have some very standard components in my app, just 2 data tables, 2 plots, 2 action buttons, a download button, and some plain text. What could be the reason of this issue?

@chuyaowang
Copy link
Author

This is my repository: Link for your reference. It's in Chinese but basically you click the buttons to add records of 0s and 1s. Then some simple analyses are done on the records producing tables and plots. The table can then be saved by clicking the download button.

@dcaud
Copy link

dcaud commented Jan 24, 2024

I too am seeing this error as the final error after a bunch of others. The errors begin with:

Service Worker registered
shinylive.js:21554 Download the React DevTools for a better development experience: https://reactjs.org/link/react-devtools
shinylive.js:31930 WebR is using PostMessage communication channel, nested R REPLs are not available.
Xs @ shinylive.js:31930
shinylive.js:34938 preload error:wasm streaming compile failed: TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
_error @ shinylive.js:34938
shinylive.js:34938 preload error:falling back to ArrayBuffer instantiation

@toxintoxin
Copy link

I've run into the same problem, maybe it's caused by not being able to import external files?
It's mentioned here. RamiKrispin/shinylive-r#1 (comment)
I haven't tested it yet.

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

3 participants