tidymodules icon indicating copy to clipboard operation
tidymodules copied to clipboard

GitHub API cannot find the release number

Open nhward opened this issue 7 months ago • 0 comments

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

nhward avatar Jul 24 '24 00:07 nhward