Fix: nodejs glibc dependency error
parent
d1a685150d
commit
adb8e33eaf
|
|
@ -5617,8 +5617,13 @@ class BuildAutomationWorkflow {
|
||||||
return `apt-get update > /dev/null
|
return `apt-get update > /dev/null
|
||||||
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
|
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
|
||||||
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
||||||
nvm install 18.0.0
|
export NVM_DIR="$HOME/.nvm"
|
||||||
nvm use 18.0.0
|
[ -s "$NVM_DIR/nvm.sh" ] && \\. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
[ -s "$NVM_DIR/bash_completion" ] && \\. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
source ~/.bash_profile
|
||||||
|
command -v nvm
|
||||||
|
nvm install 16.0.0
|
||||||
|
nvm use 16.0.0
|
||||||
ldd --version
|
ldd --version
|
||||||
npm --version
|
npm --version
|
||||||
nodejs --version
|
nodejs --version
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -70,8 +70,13 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
||||||
return `apt-get update > /dev/null
|
return `apt-get update > /dev/null
|
||||||
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
|
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
|
||||||
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
||||||
nvm install 18.0.0
|
export NVM_DIR="$HOME/.nvm"
|
||||||
nvm use 18.0.0
|
[ -s "$NVM_DIR/nvm.sh" ] && \\. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
[ -s "$NVM_DIR/bash_completion" ] && \\. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||||
|
source ~/.bash_profile
|
||||||
|
command -v nvm
|
||||||
|
nvm install 16.0.0
|
||||||
|
nvm use 16.0.0
|
||||||
ldd --version
|
ldd --version
|
||||||
npm --version
|
npm --version
|
||||||
nodejs --version
|
nodejs --version
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue