Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSBuild/CL.exe fails to launch when called from a nodeJS script via Yarn #1566

Merged
merged 1 commit into from
Sep 13, 2020
Merged
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
10 changes: 5 additions & 5 deletions images/win/scripts/Installers/Install-NodeLts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ Choco-Install -PackageName nodejs-lts -ArgumentList "--force"
Add-MachinePathItem $PrefixPath
$env:Path = Get-MachinePath

setx NPM_CONFIG_PREFIX $PrefixPath /M
$env:NPM_CONFIG_PREFIX = $PrefixPath
setx npm_config_prefix $PrefixPath /M
$env:npm_config_prefix = $PrefixPath

setx NPM_CONFIG_CACHE $CachePath /M
$env:NPM_CONFIG_CACHE = $CachePath
setx npm_config_cache $CachePath /M
$env:npm_config_cache = $CachePath

npm config set registry http://registry.npmjs.org/

Expand All @@ -35,4 +35,4 @@ npm install -g lerna
npm install -g node-sass
npm install -g newman

Invoke-PesterTests -TestFile "Node"
Invoke-PesterTests -TestFile "Node"