Skip to content

Commit ab00ade

Browse files
committed
install: bump node
1 parent 6cfc3db commit ab00ade

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

install/local/install-scrypted-dependencies-mac.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ RUN brew update
4242

4343
# in sequoia, brew node is unusable because it is not signed and can't access local network unless run as root.
4444
# https://developer.apple.com/forums/thread/766270
45-
# RUN_IGNORE brew install node@20
46-
# NODE_PATH=$(brew --prefix node@20)
47-
# NODE_BIN_PATH=$NODE_PATH/bin
4845
RUN_IGNORE curl -L https://nodejs.org/dist/v22.14.0/node-v22.14.0.pkg -o /tmp/node.pkg
4946
RUN_IGNORE sudo installer -pkg /tmp/node.pkg -target /
5047
NODE_PATH=/usr/local # used to pass var test
@@ -88,13 +85,13 @@ RUN mkdir -p ~/Library/LaunchAgents
8885

8986
if [ ! -d "$NODE_PATH" ]
9087
then
91-
echo "Unable to determine node@20 path."
88+
echo "Unable to determine node path."
9289
exit 1
9390
fi
9491

9592
if [ ! -d "$NODE_BIN_PATH" ]
9693
then
97-
echo "Unable to determine node@20 bin path."
94+
echo "Unable to determine node bin path."
9895
echo "$NODE_BIN_PATH does not exist."
9996
exit 1
10097
fi

install/local/install-scrypted-dependencies-win.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ sc.exe stop scrypted.exe
1919
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
2020

2121
# Install node.js
22-
choco upgrade -y nodejs-lts --version=20.18.0
22+
choco upgrade -y nodejs-lts --version=22.15.0
2323

2424
# Install VC Redist, which is necessary for portable python
2525
choco install -y vcredist140
@@ -34,7 +34,7 @@ $SCRYPTED_WINDOWS_PYTHON_VERSION="-3.9"
3434
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
3535

3636
# Workaround Windows Node no longer creating %APPDATA%\npm which causes npx to fail
37-
# Fixed in newer versions of NPM but not the one bundled with Node 20
37+
# Fixed in newer versions of NPM but not the one bundled with Node 2x
3838
# https://github.com/nodejs/node/issues/53538
3939
npm i -g npm
4040

0 commit comments

Comments
 (0)