From 0f9adbeae6f0d143ab593701c7687923b08de6d6 Mon Sep 17 00:00:00 2001 From: Long Zheng Date: Fri, 6 Dec 2024 10:34:48 +1100 Subject: [PATCH] Test removing npm fix --- install/local/install-scrypted-dependencies-win.ps1 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/install/local/install-scrypted-dependencies-win.ps1 b/install/local/install-scrypted-dependencies-win.ps1 index 41664dc39f..83b695de8f 100644 --- a/install/local/install-scrypted-dependencies-win.ps1 +++ b/install/local/install-scrypted-dependencies-win.ps1 @@ -24,11 +24,6 @@ $SCRYPTED_WINDOWS_PYTHON_VERSION="-3.9" # Refresh environment variables for py and npx to work $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") -# Workaround Windows Node no longer creating %APPDATA%\npm which causes npx to fail -# Fixed in newer versions of NPM but not the one bundled with 20.11.1 -# https://github.com/nodejs/node/issues/53538 -npm i -g npm - py $SCRYPTED_WINDOWS_PYTHON_VERSION -m pip install --upgrade pip py $SCRYPTED_WINDOWS_PYTHON_VERSION -m pip install debugpy typing_extensions typing opencv-python