diff --git a/src/scripts/npm/downloadNpmDependencies.js b/src/scripts/npm/downloadNpmDependencies.js index f4f8d54c..ac89865a 100644 --- a/src/scripts/npm/downloadNpmDependencies.js +++ b/src/scripts/npm/downloadNpmDependencies.js @@ -35,7 +35,10 @@ // install node modules const modules = getNodeModulesToInstall(dependencies); - if (modules.length === 0) return async.promise; + if (modules.length === 0) { + async.resolve(); + return async.promise; + } installNodeModules(modules, () => { // only run once