Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/windows/Install-DashcamCLI.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Set-StrictMode -Version Latest

Write-Host "Installing Dashcam CLI $Version..."

& npm install --location=global dashcam@$Version
cmd /c npm install --location=global dashcam@$Version

Write-Host "Verifying Dashcam CLI Install..."
& dashcam --help
Expand Down
6 changes: 3 additions & 3 deletions src/windows/Install-NodeJS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ Write-Host "Installing Node.js $Version..."
# For the moment, use 16 as that matches the major version of $Version, but
# eventually make this include the value of $Version in some way
$env:PATH = "$Directory;$env:PATH"
& npm config set prefix $Directory
cmd /c npm config set prefix $Directory

Write-Host "NPM configuration, local"
& npm config list
cmd /c npm config list

Write-Host "NPM configuration, global"
& npm config list -g
cmd /c npm config list -g
Loading