Novartis / tidymodules

An Object-Oriented approach to Shiny modules
https://opensource.nibr.com/tidymodules
Other
143 stars 11 forks source link

GitHub API cannot find the release number #46

Open nhward opened 2 months ago

nhward commented 2 months ago

I LOVE this package. This is a great way to work with shiny modules. I had a play at trying to get my app running under shinyLive. The following error message was produced. The GitHub API cannot find the release number associated with the HEAD repository. Hopefully, this is easy to fix.

To reproduce the problem:

shinylive::export(appdir, destdir)

Try running with the appdir set to the root of a tidymodule based shiny app. The destDir is where the shinyLive app will be created.

Error in get_github_wasm_assets(): ! Can't find GitHub release for github::Novartis/tidymodules@HEAD ! Ensure a GitHub release exists for the package repository reference: "HEAD". ℹ Alternatively, install a CRAN version of this package to use the default Wasm binary repository. Caused by error in gh::gh(): ! GitHub API error (404): Not Found ✖ URL not found: https://api.github.com/repos/Novartis/tidymodules/releases/tags/HEAD ℹ Read more at https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name