Package: node-gulp / 4.0.2-8

no-force-local-gulp.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: No force local gulp
--- a/gulp-cli/index.js
+++ b/gulp-cli/index.js
@@ -168,7 +168,8 @@
         ? 'npm install'
         : 'npm install gulp';
     log.error(ansi.red('Try running: ' + installCommand));
-    exit(1);
+    env.modulePath = 'gulp';
+    log.error(ansi.red('Using globally installed gulp'));
   }
 
   if (!env.configPath) {
@@ -187,7 +188,9 @@
   }
 
   // Find the correct CLI version to run
-  var range = findRange(env.modulePackage.version, ranges);
+  // hard code range
+  //var range = findRange(env.modulePackage.version, ranges);
+  var range = '^4.0.0';
 
   if (!range) {
     log.error(