mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 11:26:04 +08:00
Pin nodejs version to 22
Latest nodejs (23.10.0) fails to install on arm Mac 12.
Brew install doesn't add to path automatically, so set
in the script after install.
Change-Id: Ibad6c362e5633cc656e9e580cfe4bd5ef4e5af2a
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
(cherry picked from commit 61fab6d730)
Reviewed-by: Rami Potinkara <rami.potinkara@qt.io>
Reviewed-by: Toni Saario <toni.saario@qt.io>
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
#Copyright (C) 2023 The Qt Company Ltd
|
||||
#SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
|
||||
|
||||
# shellcheck source=../common/unix/SetEnvVar.sh
|
||||
source "${BASH_SOURCE%/*}/../common/unix/SetEnvVar.sh"
|
||||
|
||||
set -ex
|
||||
|
||||
brew install nodejs
|
||||
|
||||
brew install node@22
|
||||
SetEnvVar "PATH" "/opt/homebrew/opt/node@22/bin:\$PATH"
|
||||
|
||||
Reference in New Issue
Block a user