Why are there a series of technical challenges behind “OMG buy it”>>>
When starting gulp, an error is reported as follows:
[14:35:32] Using gulpfile ~/Sites/tool/gulpfile.js
/usr/local/lib/node_modules/gulp/bin/gulp.js:129
gulpInst.start.apply(gulpInst, toRun);
^
TypeError: Cannot read property 'apply' of undefined
at /usr/local/lib/node_modules/gulp/bin/gulp.js:129:20
at process._tickCallback (internal/process/next_tick.js:61:11)
at Function.Module.runMain (internal/modules/cjs/loader.js:745:11)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:743:3)
Check the gulp version as follows:
➜ tool git:(master) gulp -v
[14:39:34] CLI version 3.9.1
[14:39:34] Local version 4.0.0
Solution:
npm i gulp-cli -g
Similar Posts:
- Error: listen eaddinuse: 4000 [How to Solve]
- NPM Install vue-cli Error: internal/modules/cjs/loader.js (Error: Cannot find module ‘D:\Program\nodejs\node_global\node_modules\vue-cli\bin\vue’)
- Solve Error: MissingSchemaError: Schema hasn’t been registered for model “YourModel”.
- How to Solve Error: Cannot find module ‘gulp-sass’
- Cannot findmodule’webpack-cli/bin/config-yargs
- Cannot find module ‘../lib/utils/unsupported.js’
- Module build failed: Error: Cannot find module ‘node-sass’
- GulpThe following tasks did not complete [How to Solve]
- Completely Uninstall Node.js from Mac OS X
- Angular Project Download Error: [ERROR] ionic-app-scripts has unexpectedly closed (exit code 1).