Theme Upgrade 6.2 to 7.2 Gulp Error

Amos Fong, modified 6 Years ago. Junior Member Posts: 61 Join Date: 5/16/14 Recent Posts
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});