<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Theme Upgrade 6.2 to 7.2 Gulp Error</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=114332080" />
  <subtitle>Theme Upgrade 6.2 to 7.2 Gulp Error</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=114332080</id>
  <updated>2026-04-06T08:43:16Z</updated>
  <dc:date>2026-04-06T08:43:16Z</dc:date>
  <entry>
    <title>Theme Upgrade 6.2 to 7.2 Gulp Error</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114332079" />
    <author>
      <name>BRODY HIGGS JR</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114332079</id>
    <updated>2019-07-16T20:57:43Z</updated>
    <published>2019-07-16T20:57:43Z</published>
    <summary type="html">&lt;span style="color: #000000"&gt;&lt;/span&gt;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.&lt;br /&gt;&lt;a href="https://portal.liferay.dev/docs/7-2/tutorials/-/knowledge_base/t/running-the-upgrade-task-for-6-2-themes"&gt;https://portal.liferay.dev/docs/7-2/tutorials/-/knowledge_base/t/running-the-upgrade-task-for-6-2-themes&lt;/a&gt;&lt;span style="color: #000000"&gt;&lt;/span&gt;&lt;br /&gt;Installed Gulp versions: CLI Version: 2.2.0, Local version: 4.0.2&lt;span style="color: #000000"&gt;&lt;/span&gt;&lt;br /&gt;Command: E:\themes\theme-to-upgrade&amp;gt; gulp upgrade&lt;br /&gt;&lt;span style="color: #000000"&gt;&lt;/span&gt;Error: Task never defined: upgrade&lt;span style="color: #000000"&gt;&lt;/span&gt;Gulpfile.js &lt;br /&gt;Code:&lt;span style="color: #000000"&gt;&lt;/span&gt;var gulp = require(&amp;#39;gulp&amp;#39;);&lt;span style="color: #000000"&gt;&lt;/span&gt;gulp.task(&amp;#39;default&amp;#39;, function() {&lt;span style="color: #000000"&gt;&lt;/span&gt;// Code for the default task&lt;span style="color: #000000"&gt;&lt;/span&gt;});</summary>
    <dc:creator>BRODY HIGGS JR</dc:creator>
    <dc:date>2019-07-16T20:57:43Z</dc:date>
  </entry>
</feed>
