From 98e4e38d43469d3822237f22d83541370cc227d2 Mon Sep 17 00:00:00 2001 From: MoreRobustThanYou Date: Fri, 17 Nov 2017 13:51:33 -0500 Subject: [PATCH] Make tgui use npm-cache for installing modules (#32767) --- tgui/install_dependencies.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tgui/install_dependencies.bat b/tgui/install_dependencies.bat index ad09693f49..d0e517b054 100644 --- a/tgui/install_dependencies.bat +++ b/tgui/install_dependencies.bat @@ -3,10 +3,12 @@ echo node.js 5.3.0 or newer must be installed for this script to work. echo If this script fails, try closing editors and running it again first. echo Any warnings about optional dependencies can be safely ignored. pause +REM Install npm-cache +cmd /c npm install npm-cache -g REM Install Gulp cmd /c npm install gulp-cli -g REM Install tgui dependencies -cmd /c npm install +cmd /c npm-cache install npm REM Flatten dependency tree cmd /c npm dedupe REM Clean dependency tree