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

How to run the example sine.qmd ? #31

Open
mcaruel opened this issue Nov 7, 2023 · 1 comment
Open

How to run the example sine.qmd ? #31

mcaruel opened this issue Nov 7, 2023 · 1 comment

Comments

@mcaruel
Copy link

mcaruel commented Nov 7, 2023

Hi everyone,
I am trying to reproduce the example sine.qmd but it does not work. I have followed all instructions in the README file.
I am trying to produce the interactive document using quarto render sine.qmd. The command does produce a sine.html file without any error.

  • When I try to open the file with my web browser (as I do with my other quarto projects) I get this error in the web browser:
    "Shinylive uses a Service Worker, which requires either a connection to localhost, or a connection via https."
  • When I use quarto preview sine.qmd instead and open the html file, I just see the shinylive code block rendered as plain text.

Can someone explain the workflow in full details ? Maybe it involves installing Pyodide but there is nothing clearly mentioning this in the README.

@mcaruel
Copy link
Author

mcaruel commented Nov 7, 2023

I found the problem. In fact it does not work if the option embed-resources is set to true

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

1 participant