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

Couldn't normalize path in addResourcePath #93

Closed
CorradoLanera opened this issue Sep 23, 2021 · 3 comments
Closed

Couldn't normalize path in addResourcePath #93

CorradoLanera opened this issue Sep 23, 2021 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@CorradoLanera
Copy link
Member

@fpirotti, the app stopped work remotely (but it works fine locally).

The error is:

Couldn't normalize path in `addResourcePath`, with arguments: `prefix` = 'font-awesome-5.3.1'; `directoryPath` = ''

I have attached the log here.
covid19ita-shiny-20210923-151736-42823.log

Searching from "font-awesome" across the whole source code, it finds these two results only, both inside the map module (they are two only because one is in Italian and the other in English).

The issue seams related to rstudio/shiny/issues/2407, and ramnathv/htmlwidgets/issues/320.

Can you help to find a solution?

@CorradoLanera CorradoLanera added bug Something isn't working help wanted Extra attention is needed labels Sep 23, 2021
@fpirotti
Copy link
Contributor

Hi @CorradoLanera
We can safely remove/comment out the following:
eng-mod_maps.R - line 94-98
mod_maps.R - line 108-115
Worse case scenario the icon in the play/pause will not be visible, but we can fix that later, the important part is that the app loads correctly.
F

CorradoLanera added a commit that referenced this issue Sep 23, 2021
@fpirotti
Copy link
Contributor

Thanx Corrado, I think it is ok to comment only the lines mentioned - not necessary to comment other parts... the htmldependency simply adds CSS references to the HTML, font-awesome icons... if these dependencies are not present, it will fall back to simple icons or a square, so it should be ok to leave the rest un commented.

@CorradoLanera
Copy link
Member Author

Grazie @fpirotti , a posto. Per il momento allora chiudo questo issue, in caso se poi vuoi fare delle modifiche al modulo aprine tu un'altro.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants