diff --git a/deploy.sh b/deploy.sh index cdb0baad..8c8fc3a6 100755 --- a/deploy.sh +++ b/deploy.sh @@ -86,6 +86,10 @@ fi make -j 8 cd ../gzbridge +if [ -d "./build" ]; then + # node-gym configure will fail if build already exists + rm -rf ./build +fi $DIR/node_modules/.bin/node-gyp configure $DIR/node_modules/.bin/node-gyp build -d