Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught referenceErrorL ShinyBS is not defined at ..... #135

Open
michaelgaunt404 opened this issue Feb 25, 2021 · 4 comments
Open

Uncaught referenceErrorL ShinyBS is not defined at ..... #135

michaelgaunt404 opened this issue Feb 25, 2021 · 4 comments

Comments

@michaelgaunt404
Copy link

Hello, I was unable to see my popup and tip elements in my shiny application when I put it on RStudio.

I dug around in the logs but nothing came up, I then dug around in the inspect->console and found a number of errors:

image

It was strange to get this error as I was able to successfully put a smaller toy application that used shinyBS on RStudio with no problem.

@marshallpayne415
Copy link

marshallpayne415 commented Apr 27, 2021

@michaelgaunt404 I'm having the same issue. When I run my shiny app locally, the shinyBS popups work just fine. However when I run it through RStudio Server, the popups don't render. When I right-click > Inspect a text label (the area where hovering over should initiate the pop-up) in the Elements panel of the Inspect tool, I see the text from the pop-up, but the pop-up itself never appears/renders.

@grwhumphries
Copy link

Ditto here - seems that it's looking for localhost/sbs/shiny.js and /sbs/shiny.css and it's not finding them. Any progress on this?

@grwhumphries
Copy link

I've come up with a workaround for this - If you grab the shinyBS.js and shinyBS.css files from this repository and copy them into a folder on your shiny root directory called "sbs" so you end up with: Localhost/sbs/shiny.js (or shiny.css), that worked for me @michaelgaunt404 @marshallpayne415

@LogFlames
Copy link

LogFlames commented Jun 26, 2023

I got similar errors running my shiny app in a docker container. My was caused due to me not loading

library(shinyBS)

and instead using

shinyBS::tipify(...)

When I added the library-call, the shinyBS is not defined disappeared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants