bubble icon indicating copy to clipboard operation
bubble copied to clipboard

README express example

Open JohnCoene opened this issue 4 years ago • 0 comments

I can't reproduce the express example in the README.

This launches express just fine

/usr/local/bin/node inst/launch.js

This doesn't work.

n <- NodeSession$new( 
  bin = "/usr/local/bin/node",
  params = "inst/launch.js"
)

x <- httr::GET("http://127.0.0.1:3000") 

My sessioninfo::session_info.

─ Session info ───────────────────────────────────────────────────────────────────────────────────────
 setting  value                       
 version  R version 3.5.1 (2018-07-02)
 os       macOS  10.14.5              
 system   x86_64, darwin15.6.0        
 ui       X11                         
 language (EN)                        
 collate  en_GB.UTF-8                 
 ctype    UTF-8                       
 tz       Europe/Zurich               
 date     2020-01-08                  

─ Packages ───────────────────────────────────────────────────────────────────────────────────────────
 package     * version    date       lib source                         
 assertthat    0.2.1      2019-03-21 [1] CRAN (R 3.5.1)                 
 bubble      * 0.0.0.9002 2020-01-08 [1] local                          
 cli           2.0.0      2019-12-09 [1] CRAN (R 3.5.2)                 
 crayon        1.3.4      2017-09-16 [1] CRAN (R 3.5.0)                 
 fansi         0.4.0      2018-10-05 [1] CRAN (R 3.5.0)                 
 glue          1.3.1.9000 2019-12-18 [1] Github (tidyverse/glue@b9ffe6c)
 rlang         0.4.2      2019-11-23 [1] CRAN (R 3.5.2)                 
 sessioninfo   1.1.1      2018-11-05 [1] CRAN (R 3.5.0)                 
 subprocess    0.8.3      2018-08-13 [1] CRAN (R 3.5.0)                 
 withr         2.1.2      2018-03-15 [1] CRAN (R 3.5.0)                 

[1] /Library/Frameworks/R.framework/Versions/3.5/Resources/library

JohnCoene avatar Jan 08 '20 13:01 JohnCoene