You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've encountered an error using sass with bslib when running an app at shiny server:
Warning: Error in warning: object 'cache_dir' not found
[No stack trace available]
Note this disappeared with options(sass.cache = FALSE).
I cannot find what could be the cause, I suspected some file permissions, but restricting write and/or read rights of the cache directory raised a different, expected error.
The text was updated successfully, but these errors were encountered:
The problem is that I have limited access to the server where shiny-server lives. But recently, I have been provided with this log, which may be helpful:
Warning in loadSupport(appDir, renv = sharedEnv, globalrenv = NULL) :
Loading R/ subdirectory for Shiny application, but this directory appears to contain an R package. Sourcing files in R/ may cause unexpected behavior.
ℹ Loading edutest
Listening on http://127.0.0.1:38709
Warning: Error in warning: object 'cache_dir' not found
87: warning
86: value[[3L]]
85: tryCatchOne
84: tryCatchList
83: tryCatch
82: sass_cache_context_dir
81: sass_cache_get
79: sass::sass_partial
78: bs_get_contrast
77: navs_bar
72: page_navbar
69: ui [/opt/shiny/my_app/R/app_ui.R#8]
Thing is that I cannot reproduce this behaviour elsewhere. But from the traceback, the issue may lie somewhere in sass_cache_context_dir(). Hope this helps at least a bit.
Hi, I've encountered an error using
sass
withbslib
when running an app atshiny
server:Note this disappeared with
options(sass.cache = FALSE)
.I cannot find what could be the cause, I suspected some file permissions, but restricting write and/or read rights of the cache directory raised a different, expected error.
The text was updated successfully, but these errors were encountered: