From 9cc88a0f75db4c358ea92788029a3d52a019ea90 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Thu, 5 Jan 2023 20:03:58 -0800 Subject: [PATCH 1/3] Update install-scrypted-dependencies-win.ps1 --- docker/install-scrypted-dependencies-win.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/install-scrypted-dependencies-win.ps1 b/docker/install-scrypted-dependencies-win.ps1 index a8d3bd449..7e799f002 100644 --- a/docker/install-scrypted-dependencies-win.ps1 +++ b/docker/install-scrypted-dependencies-win.ps1 @@ -1,5 +1,5 @@ winget install -h OpenJS.NodeJS -winget install -h "Python 3.10" +winget install -h --id "Python.Python.3.10" py -m pip install --upgrade pip py -m pip install aiofiles debugpy typing_extensions typing opencv-python From f5e805576981addc3893cc1cc2a6f102b01999b0 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Fri, 6 Jan 2023 08:17:30 -0800 Subject: [PATCH 2/3] Update npm-install.sh --- npm-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npm-install.sh b/npm-install.sh index f18744dc4..172e0f65c 100755 --- a/npm-install.sh +++ b/npm-install.sh @@ -1,4 +1,4 @@ -echo 'if (!process.version.startsWith("v18")) throw new Error("node 18 required")' | node +echo 'if (!process.version.startsWith("v18")) throw new Error("Node 18 is required. Install Node Version Manager (nvm) for versioned node installations. See https://github.com/koush/scrypted/pull/498#issuecomment-1373854020")' | node if [ "$?" != 0 ] then exit From 575d961939cf450296b8316a9833634eb76bf0f4 Mon Sep 17 00:00:00 2001 From: Long Zheng Date: Sat, 7 Jan 2023 12:06:21 +1100 Subject: [PATCH 3/3] Install Node LTS v18 (#502) --- docker/install-scrypted-dependencies-win.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/install-scrypted-dependencies-win.ps1 b/docker/install-scrypted-dependencies-win.ps1 index 7e799f002..3695a16b3 100644 --- a/docker/install-scrypted-dependencies-win.ps1 +++ b/docker/install-scrypted-dependencies-win.ps1 @@ -1,4 +1,4 @@ -winget install -h OpenJS.NodeJS +winget install -h --id "OpenJS.NodeJS.LTS" winget install -h --id "Python.Python.3.10" py -m pip install --upgrade pip