Why is webshot not working with leaflets in R shiny?
问题 First off webshot isn't working in this context webshot("google.com") for webshot("www.google.com") I get : env: node\r: No such file or directory Error in webshot("google.com") : webshot.js returned failure value: 127 so This isn't working for the leaftlet code staters <<- readOGR(dsn="cb_2015_us_county_20m",layer="cb_2015_us_county_20m") getMap<-function()({ leaflet(staters) %>% addPolygons( stroke = T, fillOpacity =.7, smoothFactor = 0, color = "black", weight = .5, fill = T, fillColor =