I am trying to use the ng-factory generator to create a new project to create an angularjs component. After the project was created using the yo ng-factory command, I tried to start it using the gulp serve task, but found the following error:
c:\projects\bywebclient>gulp serve
[11:20:51] Loading C:\projects\bywebclient\gulp_tasks\browsersync.js
[11:20:52] Loading C:\projects\bywebclient\gulp_tasks\karma.js
[11:20:57] Loading C:\projects\bywebclient\gulp_tasks\misc.js
[11:20:57] Loading C:\projects\bywebclient\gulp_tasks\webpack.js
[11:21:07] Using gulpfile c:\projects\bywebclient\gulpfile.js
C:\Users\ATUL KALE\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js:129
gulpInst.start.apply(gulpInst, toRun);
^
TypeError: Unable to read the "apply" property from undefined
in C: \ Users \ ATUL KALE \ AppData \ Roaming \ npm \ node_modules \ gulp \ bin \ gulp.js: 129: 19
on _combinedTickCallback (internal / process / next_tick.js: 67 : 7)
on process._tickCallback (internal / process / next_tick.js: 98: 9)
on Module.runMain (module.js: 577: 11)
on startup (bootstrap_node.js: 352: 7)
on startup (bootstrap_node.js : 144: 9)
on bootstrap_node.js: 467: 3
Am I missing something? I already tried to run npm install
Thank you Atul Kale
source
share