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

Cannot Use Latest V8 Engine on Debian 9.11 Stretch #86

Closed
masato-yoshihara opened this issue Mar 11, 2020 · 2 comments
Closed

Cannot Use Latest V8 Engine on Debian 9.11 Stretch #86

masato-yoshihara opened this issue Mar 11, 2020 · 2 comments

Comments

@masato-yoshihara
Copy link

I'm using extendShinyjs from shinyjs as part of my Shiny App. While extendShinyjs (which utilizes V8 as a dependency) works without an issue locally on OSX, I'm getting a Javascript parsing error when I run my Shiny app in a Debian-based container due to R using a legacy version of V8 instead of the latest version.

Per instructions, I'm downloading V8 using the following command: sudo apt-get install -y libv8-dev, then installing the V8 package in Shiny using install.packages("V8"). When I type in V8::engine_info(), I get $version [1] "3.14.5.9" though I expected $version [1] "7.2.502.24".

I am using R Version 3.6.1 (2019-07-05) -- "Action of the Toes", and my container is running Debian GNU/Linux 9.11 (stretch).

How should I go about this issue?

@jeroen
Copy link
Owner

jeroen commented Mar 11, 2020

Debian 9 ships with an older version of libv8-dev. You either need to upgrade to Debian 10 or try to install libv8 from source.

@masato-yoshihara
Copy link
Author

That makes sense, thank you so much!

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

2 participants