<?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>Error liferay-theme   instantiatedGenerator.run is not a function</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122305218" />
  <subtitle>Error liferay-theme   instantiatedGenerator.run is not a function</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=122305218</id>
  <updated>2026-04-04T15:15:19Z</updated>
  <dc:date>2026-04-04T15:15:19Z</dc:date>
  <entry>
    <title>RE: Error liferay-theme   instantiatedGenerator.run is not a function</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123307834" />
    <author>
      <name>Gabriel Landon</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123307834</id>
    <updated>2025-03-26T15:27:04Z</updated>
    <published>2025-03-17T19:04:41Z</published>
    <summary type="html">&lt;p&gt;I also bumped into the same problem.&lt;/p&gt;
&lt;p&gt;The solution is to downgrade the generator.&lt;/p&gt;
&lt;pre&gt;
&lt;code&gt;npm install -g yo@4.3.1 generator-generator&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;See: &lt;a href="https://stackoverflow.com/questions/77939302/the-error-instantiatedgenerator-run-is-not-a-function-occurs-when-generating-t"&gt;https://stackoverflow.com/questions/77939302/the-error-instantiatedgenerator-run-is-not-a-function-occurs-when-generating-t&lt;/a&gt;&lt;/p&gt;</summary>
    <dc:creator>Gabriel Landon</dc:creator>
    <dc:date>2025-03-17T19:04:41Z</dc:date>
  </entry>
  <entry>
    <title>Error liferay-theme   instantiatedGenerator.run is not a function</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122305217" />
    <author>
      <name>Raed Saad</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=122305217</id>
    <updated>2024-05-21T11:50:19Z</updated>
    <published>2023-12-25T11:34:40Z</published>
    <summary type="html">&lt;p&gt;I iam trying to install liferay theme generator inorder to start
  developing themes. i installed all the dependencies&lt;/p&gt;
&lt;p&gt;yo --version 5.0.0&lt;/p&gt;
&lt;p&gt;gulp --version CLI version: 2.3.0&lt;/p&gt;
&lt;p&gt;node --version v16.14.0&lt;/p&gt;
&lt;pre class="37"&gt;
&lt;code
      class="37 hljs language-css"&gt;npm install -g generator-liferay-theme&lt;span class="hljs-keyword"&gt;@10&lt;/span&gt;.2.1&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;liferay.workspace.product = dxp-7.4-u88&lt;/p&gt;
&lt;p&gt;--------------------------------------------------&lt;/p&gt;
&lt;p&gt;but when i execute yo liferay-theme&lt;/p&gt;
&lt;p&gt;i get the below message and error&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Welcome to the splendid Themes SDK generator!&lt;/p&gt;
&lt;p&gt;
  &lt;br&gt; ℹ️ This version of the Themes SDK (10.2.1) supports Liferay
  DXP&lt;br&gt; and Portal CE from 7.2 to 7.4.&lt;/p&gt;
&lt;p&gt;For older versions, please use v8 of the toolkit:&lt;/p&gt;
&lt;p&gt;&amp;gt; npm install -g generator-liferay-theme@^8.0.0 ↩&lt;br&gt; &amp;gt; yo
  liferay-theme:app ↩&lt;/p&gt;
&lt;p&gt;
  &lt;br&gt; ℹ️ For detailed information regarding which version numbers of:&lt;/p&gt;
&lt;p&gt;  · unstyled, styled, classic and admin themes&lt;br&gt;   ·
  liferay-frontend-css-common and @clayui/css npm packages&lt;br&gt;   ·
  Bootstrap framework&lt;/p&gt;
&lt;p&gt;are used by each release of Liferay DXP and Portal CE see the table
  at:        &lt;/p&gt;

&lt;p&gt;https://github.com/liferay/clay/wiki/Liferay-Portal-@clayui-css-Versions       &lt;/p&gt;
&lt;p&gt;
  &lt;br&gt; Error liferay-theme&lt;/p&gt;
&lt;p&gt;instantiatedGenerator.run is not a function&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;please help me find a solution to resolve this issue&lt;/p&gt;</summary>
    <dc:creator>Raed Saad</dc:creator>
    <dc:date>2023-12-25T11:34:40Z</dc:date>
  </entry>
</feed>
