19077: yarn is already installed
[arvados.git] / tools / arvbox / lib / arvbox / docker / service / workbench2 / run-service
index f956eecc61b6118885fb78a8ae1cf1cadfdda0c6..2b68cadafde7514383cf7e0b3a5d09b0a9a638c3 100755 (executable)
@@ -16,8 +16,6 @@ fi
 
 cd /usr/src/workbench2
 
-npm -d install --prefix /usr/local --global yarn@1.17.3
-
 yarn install
 
 if test "$1" = "--only-deps" ; then
@@ -53,9 +51,12 @@ else
     arv api_client create --api-client "$apiclient"
 fi
 
-export HTTPS=false
 # Can't use "yarn start", need to run the dev server script
 # directly so that the TERM signal from "sv restart" gets to the
 # right process.
 export VERSION=$(./version-at-commit.sh)
-exec node node_modules/react-scripts-ts/scripts/start.js
+export BROWSER=none
+export CI=true
+export HTTPS=false
+node --version
+exec node node_modules/react-scripts/scripts/start.js