Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Theme Upgrade 6.2 to 7.2 Gulp Error
I am following the instructions via the link below to upgrade a 6.2 theme to 7.2, but receive the following error when attempting to run ‘gulp upgrade’. The ‘gulpfile.js’ is located under ‘E:\themes’ and ‘E:\themes\theme-to-upgrade’. The content of ‘gulpfile.js’ is below. Maybe I am missing a javascript function or code that performs the upgrade task.
https://portal.liferay.dev/docs/7-2/tutorials/-/knowledge_base/t/running-the-upgrade-task-for-6-2-themes
Installed Gulp versions: CLI Version: 2.2.0, Local version: 4.0.2
Command: E:\themes\theme-to-upgrade> gulp upgrade
Error: Task never defined: upgradeGulpfile.js
Code:var gulp = require('gulp');gulp.task('default', function() {// Code for the default task});
https://portal.liferay.dev/docs/7-2/tutorials/-/knowledge_base/t/running-the-upgrade-task-for-6-2-themes
Installed Gulp versions: CLI Version: 2.2.0, Local version: 4.0.2
Command: E:\themes\theme-to-upgrade> gulp upgrade
Error: Task never defined: upgradeGulpfile.js
Code:var gulp = require('gulp');gulp.task('default', function() {// Code for the default task});
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™