Skip to content

Commit

Permalink
Test removing npm fix
Browse files Browse the repository at this point in the history
  • Loading branch information
longzheng committed Dec 5, 2024
1 parent 3f37a3b commit 0f9adbe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions install/local/install-scrypted-dependencies-win.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0f9adbe

Please sign in to comment.