diff --git a/docker/install-scrypted-dependencies-win.ps1 b/docker/install-scrypted-dependencies-win.ps1 index a8d3bd449..3695a16b3 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 "OpenJS.NodeJS.LTS" +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 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