npm run build
doesn't create build directory, fails if it doesn't exist
#588
Labels
bug
Something isn't working
I recently needed to run
npm run cleanup
, to completely remove the build directory in order to avoid merge conflicts. This worked as expected, but when subsequently runningnpm run build
, this was the result:If a command is provided to remove the build directory before rebuilding it, it seems suboptimal that rebuilding it then doesn't work without the additional step of manually recreating the directory. Particularly because Git doesn't allow you to commit an empty directory addition by default, so it's impossible to do something like:
... and have the GitHub Actions workflow actually work.
CC @s3ththompson
The text was updated successfully, but these errors were encountered: