We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dac1a65 commit 5b4b389Copy full SHA for 5b4b389
scripts/common_startup.sh
@@ -238,8 +238,8 @@ if [ $SKIP_CLIENT_BUILD -eq 0 ]; then
238
echo "Installing yarn into '$CONDA_DEFAULT_ENV' Conda environment with conda."
239
$CONDA_EXE install --yes --override-channels --channel conda-forge --name "$CONDA_DEFAULT_ENV" 'yarn<2'
240
elif [ -n "$VIRTUAL_ENV" ] && in_venv "$(command -v npm)"; then
241
- echo "Installing yarn into $VIRTUAL_ENV with npm."
242
- npm install --global yarn
+ echo "Installing yarn into $VIRTUAL_ENV with corepack."
+ corepack enable yarn
243
else
244
echo "Installing yarn locally with npm."
245
npm install yarn
0 commit comments