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
When trying to run vizmake() with webpack on Jenkins, if the target dir doesn't already exist, you will get an error about Error in setwd(vizlab::exportLocation()): cannot change working directory. It is because the directory doesn't exist. I had to run mkdir target and then try again. It would be nice if there was an error that popped up to tell you this (or maybe a better way to do this entirely).
Just came across this again. vizlab::vizmake() used to automatically create the target dir if it didn't already exist...should probably still have that behavior. I think the problem now is that webpack tries to run setwd(exportLocation()) before vizmake() adds the target dir.
When trying to run vizmake() with webpack on Jenkins, if the
target
dir doesn't already exist, you will get an error aboutError in setwd(vizlab::exportLocation()): cannot change working directory
. It is because the directory doesn't exist. I had to runmkdir target
and then try again. It would be nice if there was an error that popped up to tell you this (or maybe a better way to do this entirely).Maybe an error around here: https://github.com/USGS-VIZLAB/vizlab/blob/master/R/webpacker.R#L44
The text was updated successfully, but these errors were encountered: