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
{{ message }}
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.
let di = GulpDI({
DEBUG: false, // when set to true, the plugin will log info to console. Useful for bug reporting and issue debugging
pattern: ['gulp-*', 'gulp.*'], // the glob(s) to search for
config: 'package.json', // where to find the plugins, by default searched up from process.cwd()
scope: ['dependencies', 'devDependencies', 'peerDependencies'], // which keys in the config to look within
replaceString: /^gulp(-|\.)/, // what to remove from the name of the module when adding it to the context
rename: {}, // a mapping of plugins to rename
renameFn: function (name) { ... } // a function to handle the renaming of plugins (the default works)
}, require('gulp'));
Subsequently the error for putting them in the wrong order doesn't make it very obvious. :)
$ gulp
/home/adam/Programming/work/salespreso-gulp-v2/node_modules/gulp-di/contrib/help.js:104
return _task.apply(gulp, args);
^
TypeError: Cannot read property 'apply' of undefined
at Object.HelpTask.gulp.task (/home/adam/Programming/work/salespreso-gulp-v2/node_modules/gulp-di/contrib/help.js:104:17)
at GulpDI.HelpTask (/home/adam/Programming/work/salespreso-gulp-v2/node_modules/gulp-di/contrib/help.js:109:8)
at GulpDI.$injector (/home/adam/Programming/work/salespreso-gulp-v2/node_modules/gulp-di/lib/di.js:56:20)
at GulpDI.inject (/home/adam/Programming/work/salespreso-gulp-v2/node_modules/gulp-di/lib/di.js:192:30)
at GulpDI.parseOptions (/home/adam/Programming/work/salespreso-gulp-v2/node_modules/gulp-di/lib/di.js:161:14)
at new GulpDI (/home/adam/Programming/work/salespreso-gulp-v2/node_modules/gulp-di/lib/di.js:118:12)
at /home/adam/Programming/work/salespreso-gulp-v2/node_modules/gulp-di/lib/di.js:330:12
at module.exports (/home/adam/Programming/work/salespreso-gulp-v2/index.js:6:14)
at Object.<anonymous> (/home/adam/Programming/work/salespreso-gulp-v2/examples/jspm/gulpfile.js:4:1)
at Module._compile (module.js:413:34)
The text was updated successfully, but these errors were encountered:
Hi @NervosaX, time constraints forbid me currently to update the entire documentation, but feel free to file another issue in case you think something can be done in a better way. Thanks a lot for the help!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Ie the api example is:
The code example is:
Subsequently the error for putting them in the wrong order doesn't make it very obvious. :)
The text was updated successfully, but these errors were encountered: