content-and-experience-toolkit
content-and-experience-toolkit copied to clipboard
TypeError: gulp.series is not a function
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 (
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.
seems gulp version not right. Could you check where is your gulp and its version?
where gulp gulp -v
It’s 3.9.1 for both CLI and Local version. I believe, it is part of npm install. The step I followed while setting up CEC.
Now, how to upgrade Gulp?
Thanks for quick response.
Gaurav
Sent from my iPhone
Sent from my iPhone
On 03-Aug-2022, at 11:03 PM, Hui Zeng @.***> wrote: seems gulp version not right. Could you check where is your gulp and its version?
where gulp gulp -v
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
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