From 35af94c68a47d71ee16124e6a9b0920f1d8255b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hu=C3=A1ng=20J=C3=B9nli=C3=A0ng?= Date: Fri, 3 Jan 2020 21:16:41 -0500 Subject: [PATCH] chore: workaround yarn issue --- scripts/integration-tests/e2e-vue-cli.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/integration-tests/e2e-vue-cli.sh b/scripts/integration-tests/e2e-vue-cli.sh index c640661652a9..d7b7c867c33d 100755 --- a/scripts/integration-tests/e2e-vue-cli.sh +++ b/scripts/integration-tests/e2e-vue-cli.sh @@ -22,7 +22,10 @@ cd tmp/vue-cli || exit #==============================================================================# startLocalRegistry "$PWD"/../../verdaccio-config.yml + yarn install +# Workaround https://github.com/yarnpkg/yarn/issues/7797 +yarn add --dev -W @babel/core # "yarn upgrade --scope @babel --latest" doesn't seem to work. # a means "all", while \n is the enter needed to confirm the selection. printf "a\n" | yarn upgrade-interactive --scope @babel --latest