Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I see this error
ReferenceError: i is not defined
at Object.<anonymous> (/sites/all/themes/masc/gulpfile.js:65:4)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/bin/gulp.js:116:3)
at Liftoff.<anonymous> (/usr/local/lib/node_modules/gulp/node_modules/liftoff/index.js:181:16)
at module.exports (/usr/local/lib/node_modules/gulp/node_modules/liftoff/node_modules/flagged-respawn/index.js:17:3)
//////////////////////////////
// Watch
//////////////////////////////
gulp.task('watch', function () {
gulp.watch(paths.js + '/**/*.js', ['lint', 'scripts']);
gulp.watch(paths.sass + '/**/*.scss', ['compass']);
});i
Comments
Comment #1
iamcarrico CreditAttribution: iamcarrico commentedHas already been reported, and has been fixed in the generator.
Please update the generator.
Comment #2
codev0 CreditAttribution: codev0 commentedGenerator was updated, but issue is not solved.
I ran the
npm update -g generator-drupal-theme
. But I node_modules/generator-drupal-theme/extras/templates/gulpfile.js is nothing changed.