Unable to run a Shiny app locally that works on the Shiny server


My app on the Shiny server here:


works fine.

However, the app does not seem to run locally on my system (I'm a Mac user, but I don't think that matters).

The specific error I get is;

Navigation containers expect a collection of `bslib::nav()`/`shiny::tabPanel()`s and/or `bslib::nav_menu()`/`shiny::navbarMenu()`s. Consider using `header` or `footer` if you wish to place content above (or below) every panel's contents.

which suggests the issue lies in my ui.R file.

The last deployment of my app to the server was May 2022.

My suspicion is that the code in the shiny package (or any of its variants used for my app) was changed in the last year, rendering my app nonfunctional locally until I implement the necessary fix.

However, I'm sure what exactly needs to be fixed, since my last deployment was successful.

Can anyone shed some light and point me in the right direction?

1 Like