Fix node-gyp build on Windows (#2233)

* ONE MORE TIME

* I cant type

* try this

* I think I actually did it!
This commit is contained in:
Devin Binnie
2022-08-22 15:50:26 -04:00
committed by GitHub
parent 7d321e849b
commit 93b6eb4f9b
4 changed files with 7 additions and 6 deletions

View File

@@ -525,7 +525,9 @@ function Run-BuildChangelog {
function Run-BuildElectron {
Print-Info "Installing nodejs/electron dependencies (running npm ci)..."
npm ci --ignore-scripts
npm i -g node-gyp
node-gyp install
npm ci
#npm install --prefix="$(Get-RootDir)" "$(Get-RootDir)"
Print-Info "Building nodejs/electron code (running npm run build)..."
npm run build