Shiny Server not working when including shinyalert package - works fine in rStudio

77 Views Asked by At

When attempting to run this simple app on the local shiny-server I get "Disconnected from the Server" with the console showing "The application unexpectedly exited."

The app works fine if I remove the references to "shinyalert".

The app works fine in rStudio - R Version 4.1.2.

This is the first time that I am using "shinyalert".

library(shiny)
library(shinyalert)

ui <- fluidPage(
  "Hello, world!"
)
server <- function(input, output, session) {
  shinyalert(text = "Hi")
}
shinyApp(ui, server)
0

There are 0 best solutions below