Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: gulp.series is not a function #21

Open
s-gaurav opened this issue Aug 3, 2022 · 3 comments
Open

TypeError: gulp.series is not a function #21

s-gaurav opened this issue Aug 3, 2022 · 3 comments

Comments

@s-gaurav
Copy link

s-gaurav commented Aug 3, 2022

c:\CEC Toolkit\cec-src>cec et new-template
Wed, 03 Aug 2022 14:24:55 GMT
Content Toolkit 22.7.2
[19:54:58] Working directory changed to C:\CEC Toolkit\content-and-experience-toolkit-master\sites\bin
[19:55:00] Using gulpfile C:\CEC Toolkit\content-and-experience-toolkit-master\sites\bin\gulpfile.js
[19:55:00] Starting 'export-template'...

  • template new-template
  • theme new-templateTheme
  • component IDCS-Login
  • component NavMenu
  • component StarterComponent
  • component StarterFooter
    **C:\CEC Toolkit\content-and-experience-toolkit-master\sites\bin\template.js:2830
    gulp.series('create-no-content-template-zip');
    ^

TypeError: gulp.series is not a function**
at C:\CEC Toolkit\content-and-experience-toolkit-master\sites\bin\template.js:2830:10
at new Promise ()
at _exportTemplate (C:\CEC Toolkit\content-and-experience-toolkit-master\sites\bin\template.js:2598:9)
at module.exports.exportTemplate (C:\CEC Toolkit\content-and-experience-toolkit-master\sites\bin\template.js:1255:2)
at Gulp. (C:\CEC Toolkit\content-and-experience-toolkit-master\sites\bin\gulpfile.js:900:14)
at module.exports (C:\CEC Toolkit\content-and-experience-toolkit-master\sites\node_modules\orchestrator\lib\runTask.js:34:7)
at Orchestrator._runTask (C:\CEC Toolkit\content-and-experience-toolkit-master\sites\node_modules\orchestrator\index.js:273:3)
at Orchestrator._runStep (C:\CEC Toolkit\content-and-experience-toolkit-master\sites\node_modules\orchestrator\index.js:214:10)
at Orchestrator.start (C:\CEC Toolkit\content-and-experience-toolkit-master\sites\node_modules\orchestrator\index.js:134:8)
at C:\CEC Toolkit\content-and-experience-toolkit-master\sites\node_modules\gulp\bin\gulp.js:129:20

Node.js v18.7.0
[19:55:03] Working directory changed to C:\CEC Toolkit\content-and-experience-toolkit-master\sites\bin
[19:55:05] Using gulpfile C:\CEC Toolkit\content-and-experience-toolkit-master\sites\bin\gulpfile.js
[19:55:05] Starting 'check-version'...
[19:55:05] Finished 'check-version' after 2.23 ms

Please suggest what is the error. I am able to create template but while exporting it gives error.

@hzeng99
Copy link
Contributor

hzeng99 commented Aug 3, 2022

seems gulp version not right.
Could you check where is your gulp and its version?

where gulp
gulp -v

@s-gaurav
Copy link
Author

s-gaurav commented Aug 4, 2022 via email

@hzeng99
Copy link
Contributor

hzeng99 commented Aug 4, 2022

CLI installs the correct version but seems you have another install which is being used.
You could uninstall that one.
Again, what the output of
where gulp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants