Fixits are small posts that provide a straight forward answer for issues that occur during development.
When you’re working on Hybrid apps or Web apps with a tool belt including Grunt it is possible that Gulp is giving you the “TypeError: Cannot read property ‘apply’ of undefined” finger. I’ve experienced this when using a Yeoman generator and Grunt wouldn’t nudge.
Grunt functioning like normal (building with grunt / grunt build.
[crayon-5b7c9d523cd3c342687856/] [ad name=”Large Rectangle”]
Reinstall gulp-cli did fix this for me:
I found this after Googling around: https://github.com/gulpjs/gulp-cli/issues/31. Although code version 4 – and using npm install -g “gulpjs/gulp-cli#4.0” – isn’t appropriate anymore it led me to try to re-install gulp-cli.