RamiKrispin / shinylive-r

A guide for deploying Shinylive R application into Github Pages
https://ramikrispin.github.io/shinylive-r/
157 stars 27 forks source link

Website preview broke on newer shinylive version. #3

Open StefKirsch opened 3 months ago

StefKirsch commented 3 months ago

Thanks, Rami, for the awesome tutorial! ♥

I can reproduce the app when using your files from Github.

However, when I rebuild the http files with shinylive::export(appdir = "myapp", destdir = "docs"), the app breaks and I get an empty page when I preview the app with httpuv::runStaticServer("docs/", port=8008). No error or anything unfortunately.

These are my fully updated hhttpuv and shinylive versions:

packageVersion("shinylive")
# ‘0.2.0’
packageVersion("httpuv")
# ‘1.6.15’

When I go back to shinylive version 0.1.1 and I rebuild the docs files it is working again! I did not need to downgrade httpuv.

So there seems to be a problem with the newer shinylive version.

RamiKrispin commented 3 months ago

Thanks, @StefKirsch. Yes, it is most likely related to the package versions. I will check it and update the tutorial accordingly.