Skip to content

Commit

Permalink
Add node options env var
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekmig committed Oct 12, 2023
1 parent 30c1850 commit c04ecdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/install_via_pip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ while getopts 'ndfv:' flag; do
# but users should hopefully be using conda installs.

# install nodejs and yarn for insights build
export NODE_OPTIONS=--openssl-legacy-provider

sudo apt-get update
sudo apt install apt-transport-https ca-certificates
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
Expand All @@ -30,7 +32,6 @@ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/source
sudo apt update
sudo apt install nodejs
sudo apt install yarn
sudo npm install react-scripts@latest

# yarn needs terminal info
export TERM=xterm
Expand Down

0 comments on commit c04ecdc

Please sign in to comment.