issue with shiny app works with safari but does not work on chrome and Firefox

Hi,


I have developed an app which works on safari, loads in chrome and Firefox but the figures do not display. Can anyone help me.

thank in advance
Rims

Hi @Rims,

In my case (Issue with Firefox and Chrome for an app hosted on shinyapps.io), the issue appeared to be related to an error that was visible in the Javascript console (see the screenshots in the thread).

Can you check if you have Javascript errors in your own app please? If so, fixing those errors solve your situation like it did for mine.

Best,
Kevin

here is the link to the app can you please go through it, I have been working on it from last 2 days no success.

http://cki.ccs.miami.edu

I have warnings.

Listening on [http://127.0.0.1:4315](http://127.0.0.1:4315/) 
Warning in 1:dim(df1_2) : numerical expression has 2 elements: only the first used 
Warning in 1:dim(df1_2) : numerical expression has 2 elements: only the first used 
Warning: Error in UseMethod: no applicable method for 'plotly_build' applied to an object of class "character" 
97: plotly_build 
96: "plotly":::"prepareWidget" 
95: func 
82: origRenderFunc 
81: output$T_stage 
1: runApp 
Warning: Error in UseMethod: no applicable method for 'plotly_build' applied to an object of class "character" 
97: plotly_build 
96: "plotly":::"prepareWidget" 
95: func 
82: origRenderFunc 
81: output$M_stage 
1: runApp 
Warning: Error in UseMethod: no applicable method for 'plotly_build' applied to an object of class "character" 
97: plotly_build 
96: "plotly":::"prepareWidget" 
95: func 
82: origRenderFunc 
81: output$N_stage 
1: runApp 
Warning in RColorBrewer::brewer.pal(N, "Set2") : minimal value for n is 3, returning requested palette with 3 different levels 
Warning in RColorBrewer::brewer.pal(N, "Set2") : minimal value for n is 3, returning requested palette with 3 different levels 
Warning in 1:dim(df1_2) : numerical expression has 2 elements: only the first used 
Warning in 1:dim(df1_2) : numerical expression has 2 elements: only the first used

Regards

Rimpi

Hi @kevinrue,

Can you please go through the chrome and help me to solve the issue. I have been scratching my head from last few days, no success

Regards
Rimpi

I think you are starting to ask for too much here. It's fine to ask a few questions about an area that you are stuck on, but it feels like you are abusing Kevin's kindness here.

A good way to diagnose something like this is with a reproducible example. By simplifying your app to the point where you can share it and reproduce this error, you'll likely learn a lot about the specific components causing this issue.

Also, on chrome I am able to load images at https://rimsk.shinyapps.io/Appkin/. They do load rather slowly and return a "NULL" message though.