You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AssertionError [ERR_ASSERTION]: Task function must be specified
at Gulp.set [as _setTask] (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\undertaker\lib\set-task.js:10:3)
at Gulp.task (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\undertaker\lib\task.js:13
:8)
at Object. (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\gulpfile.js:319:7)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at execute (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\gulp\node_modules\gulp-cli
lib\versioned^4.0.0\index.js:36:18)
at Liftoff.handleArguments (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\gulp\node_m
odules\gulp-cli\index.js:201:24)
at Liftoff.execute (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\liftoff\index.js:20
1:12)
at module.exports (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\flagged-respawn\inde
x.js:51:3)
at Liftoff. (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\liftoff\index.j
s:191:5)
at C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\liftoff\index.js:149:9
at C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\v8flags\index.js:121:14
at C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\graceful-fs\graceful-fs.js:43:10
at FSReqWrap.args [as oncomplete] (fs.js:140:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: gulp
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\liket\AppData\Roaming\npm-cache_logs\2019-07-22T22_18_25_867Z-debug.log
Debug log:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]prestart: [email protected]
6 info lifecycle [email protected]start: [email protected]
7 verbose lifecycle [email protected]start: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]start: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules.bin;C:\Program Files\PuTTY;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\nodejs;c:\Program Files\dart-sass;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Ruby24-x64\bin;C:\Users\liket\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Usersx\liket\AppData\Local\GitHubDesktop\bin;C:\Windows\System32;C:\Users\liket\AppData\Roaming\npm
9 verbose lifecycle [email protected]start: CWD: C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess
10 silly lifecycle [email protected]start: Args: [ '/d /s /c', 'gulp' ]
11 silly lifecycle [email protected]start: Returned: code: 1 signal: null
12 info lifecycle [email protected]start: Failed to exec start script
13 verbose stack Error: [email protected] start: gulp
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid [email protected]
15 verbose cwd C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
18 verbose node v10.16.0
19 verbose npm v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] start: gulp
22 error Exit status 1
23 error Failed at the [email protected] start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Steps to Reproduce
Start Apache and MySQL in XAMPP (v3.2.2)
Go to theme directory in PowerShell
Type npm start
node -v: v10.16.0
npm -v: 6.9.0
yarn --version (if you use Yarn):
Then, specify:
Operating system: Windows 10 Pro, v1803
Browser and version (if relevant):
Possible Solution
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
The text was updated successfully, but these errors were encountered:
Bug Report
Expected Behavior
Expect that
npm start
in PowerShell within the theme directory to prepare WPGulp to compile Sass.Actual Behavior
npm start
received the following error message:assert.js:339
throw err;
^
AssertionError [ERR_ASSERTION]: Task function must be specified
at Gulp.set [as _setTask] (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\undertaker\lib\set-task.js:10:3)
at Gulp.task (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\undertaker\lib\task.js:13
:8)
at Object. (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\gulpfile.js:319:7)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at execute (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\gulp\node_modules\gulp-cli
lib\versioned^4.0.0\index.js:36:18)
at Liftoff.handleArguments (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\gulp\node_m
odules\gulp-cli\index.js:201:24)
at Liftoff.execute (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\liftoff\index.js:20
1:12)
at module.exports (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\flagged-respawn\inde
x.js:51:3)
at Liftoff. (C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\liftoff\index.j
s:191:5)
at C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\liftoff\index.js:149:9
at C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\v8flags\index.js:121:14
at C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules\graceful-fs\graceful-fs.js:43:10
at FSReqWrap.args [as oncomplete] (fs.js:140:20)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start:
gulp
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\liket\AppData\Roaming\npm-cache_logs\2019-07-22T22_18_25_867Z-debug.log
Debug log:
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle [email protected]
prestart: [email protected]start: [email protected]6 info lifecycle [email protected]
7 verbose lifecycle [email protected]
start: unsafe-perm in lifecycle truestart: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess\node_modules.bin;C:\Program Files\PuTTY;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\nodejs;c:\Program Files\dart-sass;C:\WINDOWS\System32\OpenSSH;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Ruby24-x64\bin;C:\Users\liket\AppData\Local\Microsoft\WindowsApps;C:\Program Files\Microsoft VS Code\bin;C:\Usersx\liket\AppData\Local\GitHubDesktop\bin;C:\Windows\System32;C:\Users\liket\AppData\Roaming\npm8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]
start: CWD: C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddessstart: Args: [ '/d /s /c', 'gulp' ]10 silly lifecycle [email protected]
11 silly lifecycle [email protected]
start: Returned: code: 1 signal: nullstart: Failed to exec start script12 info lifecycle [email protected]
13 verbose stack Error: [email protected] start:
gulp
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid [email protected]
15 verbose cwd C:\xampp\htdocs\likethegoddess\wp-content\themes\likethegoddess
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start"
18 verbose node v10.16.0
19 verbose npm v6.9.0
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] start:
gulp
22 error Exit status 1
23 error Failed at the [email protected] start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Steps to Reproduce
npm start
node -v
: v10.16.0npm -v
: 6.9.0yarn --version
(if you use Yarn):Then, specify:
Possible Solution
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
The text was updated successfully, but these errors were encountered: