Skip to content

Commit

Permalink
fix(sage-monorepo): resolve "Corepack is about to download" (#2639)
Browse files Browse the repository at this point in the history
  • Loading branch information
tschaffter authored Apr 12, 2024
1 parent 63af8d3 commit 9bc55ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,8 @@ function workspace-initialize-env {
# Needed to run ES containers
# See https://github.com/Sage-Bionetworks/sage-monorepo/issues/1899
sudo sysctl -w vm.max_map_count=262144 1> /dev/null

# Prevent Corepack showing the URL when it needs to download software
# https://github.com/nodejs/corepack/blob/main/README.md#environment-variables
export COREPACK_ENABLE_DOWNLOAD_PROMPT="0"
}

0 comments on commit 9bc55ae

Please sign in to comment.