macos: appdmg is not compatible with node v23.1.0

Use last working version v20
This commit is contained in:
Stéphane Cerveau 2024-11-08 15:06:57 +01:00
parent 77aa251ccf
commit c236903665

View file

@ -18,12 +18,16 @@ echo 'export PATH="/opt/homebrew/opt/m4/bin:$PATH"' >> ~/.zshrc
brew install bash
bash -c "$(curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh)"
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
source ~/.nvm/nvm.sh
nvm install node
nvm install 20
nvm alias default 20
nvm install-latest-npm
npm install -g appdmg