From c236903665a8045caed956b6966daaacafb644e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Cerveau?= Date: Fri, 8 Nov 2024 15:06:57 +0100 Subject: [PATCH] macos: appdmg is not compatible with node v23.1.0 Use last working version v20 --- installer/macos/package_setup.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/installer/macos/package_setup.sh b/installer/macos/package_setup.sh index 32180ec..a628f30 100755 --- a/installer/macos/package_setup.sh +++ b/installer/macos/package_setup.sh @@ -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