You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add --force to npm install script for user tests
* Migrate prettier to docker
* Fix vscode Dockerfile
* Fix stack space issue in isJSLiteralType
* Use --legacy-peer-deps based on npm version
* Fix xterm.js Dockerfile
exec("npm",["i","--ignore-scripts"],{ cwd,timeout: timeout/2});// NPM shouldn't take the entire timeout - if it takes a long time, it should be terminated and we should log the failure
81
+
exec("npm",["i","--ignore-scripts", ...(isV7OrLater ? ["--legacy-peer-deps"] : [])],{ cwd,timeout: timeout/2});// NPM shouldn't take the entire timeout - if it takes a long time, it should be terminated and we should log the failure
// Also actually install those types (for, eg, the js projects which need node)
84
87
if(types.length){
85
-
exec("npm",["i", ...types.map(t=>`@types/${t}`),"--no-save","--ignore-scripts"],{cwd: originalCwd,timeout: timeout/2});// NPM shouldn't take the entire timeout - if it takes a long time, it should be terminated and we should log the failure
88
+
exec("npm",["i", ...types.map(t=>`@types/${t}`),"--no-save","--ignore-scripts", ...(isV7OrLater ? ["--legacy-peer-deps"] : [])],{cwd: originalCwd,timeout: timeout/2});// NPM shouldn't take the entire timeout - if it takes a long time, it should be terminated and we should log the failure
0 commit comments