codingphasedotcom / Dev-Starter-Kit

242 stars 62 forks source link

rpm run watch is not work #3

Closed KweeZin closed 5 years ago

KweeZin commented 5 years ago

I got error message and I don't know how to fix ti. Please help me.

sh-3.2# npm run watch

CodingPhase-StarterKit@1.0.0 watch /Users/kozinmin/Desktop/Project/Dashboard gulp

assert.js:350 throw err; ^

AssertionError [ERR_ASSERTION]: Task function must be specified at Gulp.set [as _setTask] (/Users/kozinmin/Desktop/Project/Dashboard/node_modules/undertaker/lib/set-task.js:10:3) at Gulp.task (/Users/kozinmin/Desktop/Project/Dashboard/node_modules/undertaker/lib/task.js:13:8) at Object. (/Users/kozinmin/Desktop/Project/Dashboard/gulpfile.js:11:6) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object. (/Users/kozinmin/Desktop/Project/Dashboard/gulpfile.js:11:6) at Module._compile (internal/modules/cjs/loader.js:689:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10) at Module.load (internal/modules/cjs/loader.js:599:32) at tryModuleLoad (internal/modules/cjs/loader.js:538:12) at Function.Module._load (internal/modules/cjs/loader.js:530:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! CodingPhase-StarterKit@1.0.0 watch: gulp npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the CodingPhase-StarterKit@1.0.0 watch script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

codingphasedotcom commented 5 years ago

can you make sure you are running gulp 3.9.1 check with gulp -v

KweeZin commented 5 years ago

Yes, gulp version is 3.9.1 and npm version is 6.4.1

codingphasedotcom commented 5 years ago

Download the latest starter kit and run these commands in order sudo npm install har-validator@latest --save-dev sudo npm install sudo npm install gulp@3.9.1 -g sudo npm install webpack -g sudo npm install webpack-cli -g

also you must do gulp -v both your cli and local need to say they are on version 3.9.1

SparrowSenpai commented 4 years ago

i guess since the package-lock.json is using gulp 3.9.1 this wont work anymore. DO you plan on updating this at all? iI would really love to follow along with your youtube video.

kalyanramu commented 4 years ago

I am having the same issue on Ubuntu 16.04

timchew2012 commented 3 years ago

still not fixed