<?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>Liferay 7.1 + Angular 4 portlet</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110590258" />
  <subtitle>Liferay 7.1 + Angular 4 portlet</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110590258</id>
  <updated>2026-04-07T23:57:04Z</updated>
  <dc:date>2026-04-07T23:57:04Z</dc:date>
  <entry>
    <title>RE: Liferay 7.1 + Angular 4 portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117863421" />
    <author>
      <name>Michael El Khoury</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117863421</id>
    <updated>2019-11-22T18:43:13Z</updated>
    <published>2019-11-22T18:43:13Z</published>
    <summary type="html">Hello,&lt;br /&gt;I was facing the same problem.&lt;br /&gt;What i did was stopping the server, cleaned its cache (temp and work folder), removed my portlet from the modules folder, restarted the server, it&amp;#39;s working again!&lt;br /&gt;I did this because In here (&lt;a href="https://issues.liferay.com/browse/BLADE-248"&gt;https://issues.liferay.com/browse/BLADE-248&lt;/a&gt;) they say i could be related to liferay cache...&lt;a href="https://issues.liferay.com/browse/BLADE-248"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;</summary>
    <dc:creator>Michael El Khoury</dc:creator>
    <dc:date>2019-11-22T18:43:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.1 + Angular 4 portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112857761" />
    <author>
      <name>Fernando Rubí</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=112857761</id>
    <updated>2019-03-22T09:58:09Z</updated>
    <published>2019-03-22T09:58:09Z</published>
    <summary type="html">Hello,&lt;br /&gt;&lt;br /&gt;We are starting to trying the generator liferay bundle (https://github.com/liferay/liferay-npm-build-tools/wiki/How-to-use-generator-liferay-bundle) to create a portlet for an angular application. The portlet generated is deployed in liferay 7.1 without problems. &lt;br /&gt;But, now we have a problem when we start to develop the application.The application includes a CRUD of different entities, it’s not about making a SPA.We get this error when try to show a simple component:&lt;br /&gt;Unhandled Promise rejection: Failed to load home.component.html ; Zone: &amp;lt;root&amp;gt; ; Task: Promise.then ; Value: Failed to load home.component.html undefined&lt;br /&gt;&lt;br /&gt;There are any sample of the bundle with a component included.&lt;br /&gt;&lt;br /&gt;Thanks in advance.&lt;br /&gt;Fernando</summary>
    <dc:creator>Fernando Rubí</dc:creator>
    <dc:date>2019-03-22T09:58:09Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.1 + Angular 4 portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110599498" />
    <author>
      <name>Iván Zaera Avellón</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110599498</id>
    <updated>2018-07-20T08:14:55Z</updated>
    <published>2018-07-20T08:14:55Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;Do you know which package is using &lt;code&gt;process.nextTick()&lt;/code&gt;?
  Is it inside your code or in an npm package?&lt;/p&gt;
&lt;p&gt;
  &lt;code&gt;process&lt;/code&gt; is a Node.js global that is not available in the browser...&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Iván Zaera Avellón</dc:creator>
    <dc:date>2018-07-20T08:14:55Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7.1 + Angular 4 portlet</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110590257" />
    <author>
      <name>Ravi Shah</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110590257</id>
    <updated>2018-07-19T10:10:46Z</updated>
    <published>2018-07-19T10:10:46Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;Hi All,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have created an angular portlet in Liferay 7.1 CE with below command:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;
&lt;strong&gt;&lt;code&gt;blade create -t npm-angular-portlet -p com.liferay.npm.angular -c MyNpmAngularPortlet my-npm-angular-portlet
&lt;/code&gt;&lt;/strong&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The angular version is 4.&amp;nbsp; Post deploying the portlet &amp;amp; adding it
  to the page gives following errors:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1) Uncaught ReferenceError: process is not defined&lt;/p&gt;
&lt;p&gt;It is showing error:&lt;/p&gt;
&lt;div class="portlet-msg-error"&gt;// patch process related methods&lt;br&gt;
  Zone.__load_patch('nextTick', function (global, Zone, api) {&lt;br&gt; &amp;nbsp; &amp;nbsp;
  // patch nextTick as microTask&lt;br&gt; &amp;nbsp; &amp;nbsp; patchMicroTask(process,
  'nextTick', function (self, args) {&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; return {&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;
  &amp;nbsp; &amp;nbsp; &amp;nbsp; name: 'process.nextTick',&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; args: args,&lt;br&gt; &amp;nbsp;
  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; callbackIndex: (args.length &amp;gt; 0 &amp;amp;&amp;amp; typeof args[0]
  === 'function') ? 0 : -1,&lt;br&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; target: process&lt;br&gt; &amp;nbsp; &amp;nbsp;
  &amp;nbsp; &amp;nbsp; };&lt;br&gt; &amp;nbsp; &amp;nbsp; });&lt;br&gt; });&lt;/div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) Another error:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;test:773 Error: Load timeout for modules: metal-dom/src/all/dom,metal-uri/src/Uri,clay-tooltip/src/ClayTooltip,my-npm-angular-portlet@1.0.0&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Any help or suggestion on this?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks in advance.&amp;nbsp;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Ravi Shah</dc:creator>
    <dc:date>2018-07-19T10:10:46Z</dc:date>
  </entry>
</feed>
