OJS returns the following error: TypeError: Failed to fetch #6885
Unanswered
nicolasgaraycoa
asked this question in
Q&A
Replies: 1 comment 1 reply
-
ObservableJS runs through a web server, and that web server cannot access your local files, by definition. This needs to be a URL. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Bug description
Hi. I tried to use the Arquero JavaScript library to load a csv file and display it in my presentation using the .view() function. However, it returned the following error when I rendered the presentation: TypeError: Failed to fetch. I tried using require() instead of 'import' to load the Arquero library but it didn't work either.
Steps to reproduce
Expected behavior
It should return a table in my presentation.
Actual behavior
OJS Error TypeError: Failed to fetch
Your environment
RStudio 2023.06.2+561 "Mountain Hydrangea" Release (de44a3118f7963972e24a78b7a1ad48b4be8a217, 2023-08-25) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2023.06.2+561 Chrome/110.0.5481.208 Electron/23.3.0 Safari/537.36
R version 4.3.1 (2023-06-16 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 11 x64 (build 22621)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8
[3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8
time zone: America/Santo_Domingo
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] dplyr_1.1.3 compiler_4.3.1 promises_1.2.1 tidyselect_1.2.0 Rcpp_1.0.11 later_1.3.1
[7] yaml_2.3.7 fastmap_1.1.1 mime_0.12 lattice_0.21-8 R6_2.5.1 generics_0.1.3
[13] knitr_1.44 tibble_3.2.1 lubridate_1.9.2 shiny_1.7.5 pillar_1.9.0 rlang_1.1.1
[19] utf8_1.2.3 httpuv_1.6.11 xfun_0.40 timechange_0.2.0 cli_3.6.1 magrittr_2.0.3
[25] digest_0.6.33 grid_4.3.1 xlsx_0.6.5 rstudioapi_0.15.0 rJava_1.0-6 xtable_1.8-4
[31] lifecycle_1.0.3 vctrs_0.6.3 evaluate_0.21 glue_1.6.2 xlsxjars_0.6.1 zoo_1.8-12
[37] rsconnect_1.1.0 fansi_1.0.4 rmarkdown_2.25 tools_4.3.1 pkgconfig_2.0.3 ellipsis_0.3.2
[43] htmltools_0.5.6
Quarto check output
‘1.3.450’
Beta Was this translation helpful? Give feedback.
All reactions