<?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>Adding node module to react-npm-portlet example shows weird error.</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=105748498" />
  <subtitle>Adding node module to react-npm-portlet example shows weird error.</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=105748498</id>
  <updated>2026-04-04T01:24:36Z</updated>
  <dc:date>2026-04-04T01:24:36Z</dc:date>
  <entry>
    <title>RE: Adding node module to react-npm-portlet example shows weird error.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113980288" />
    <author>
      <name>Iván Zaera Avellón</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113980288</id>
    <updated>2019-06-13T09:47:52Z</updated>
    <published>2019-06-13T09:47:52Z</published>
    <summary type="html">Nothing with cyclic dependencies will work until this one is implemented -&amp;gt; &lt;a href="https://github.com/liferay/liferay-amd-loader/issues/182"&gt;https://github.com/liferay/liferay-amd-loader/issues/182&lt;/a&gt; (please visit the issue for a discussion on possible alternatives).</summary>
    <dc:creator>Iván Zaera Avellón</dc:creator>
    <dc:date>2019-06-13T09:47:52Z</dc:date>
  </entry>
  <entry>
    <title>RE: Adding node module to react-npm-portlet example shows weird error.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113979254" />
    <author>
      <name>john mcckiiney</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=113979254</id>
    <updated>2019-06-13T08:59:46Z</updated>
    <published>2019-06-13T08:59:46Z</published>
    <summary type="html">so how would you import react-bootstrap? or react-bootstrap-table libraries?</summary>
    <dc:creator>john mcckiiney</dc:creator>
    <dc:date>2019-06-13T08:59:46Z</dc:date>
  </entry>
  <entry>
    <title>RE: Adding node module to react-npm-portlet example shows weird error.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=105758344" />
    <author>
      <name>David H Nebinger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=105758344</id>
    <updated>2018-03-23T17:42:10Z</updated>
    <published>2018-03-23T17:42:10Z</published>
    <summary type="html">Liferay 7 already includes Bootstrap 3.  Trying to also load bootstrap on your own is likely to fail.  Trying to load bootstrap 4 is likely to fail.</summary>
    <dc:creator>David H Nebinger</dc:creator>
    <dc:date>2018-03-23T17:42:10Z</dc:date>
  </entry>
  <entry>
    <title>Adding node module to react-npm-portlet example shows weird error.</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=105748497" />
    <author>
      <name>Josip Bošnjak</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=105748497</id>
    <updated>2018-03-23T12:45:07Z</updated>
    <published>2018-03-23T12:45:07Z</published>
    <summary type="html">&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;I have created new liferay workspace through blade CLI. After that I have cloned the liferay-blade-samples repo.&lt;br&gt;&lt;br&gt;I also deployed simple react tic-tac-toe app from gradle/apps/npm/react-npm-porlet using gradle build &amp;amp; blade deploy. Tic tac toe example works fine in my liferay. &lt;br&gt;&lt;br&gt;However when I want to continue development, for example install another react module, like react-bootstrap, it's not working.&lt;br&gt;&lt;br&gt;I'm installing a module with &lt;pre&gt;&lt;code&gt;npm install react-bootstrap --save&lt;/code&gt;&lt;/pre&gt; from liferay-blade-samples/gradle/apps/npm/react-npm-portlet. &lt;br&gt;&lt;br&gt;install goes through fine, however when I import something from react-bootstrap I get following error in chrome:&lt;br&gt;&lt;br&gt;&lt;pre&gt;&lt;code&gt;home:616 Error: Error processing module: react-bootstrap@0.32.1/lib/Media. The provided configuration is not Directed Acyclic Graph.
    at DependencyBuilder._visit (everything.jsp?brows…1521807078217:13390)
    at DependencyBuilder._visit (everything.jsp?brows…1521807078217:13440)
    at DependencyBuilder._visit (everything.jsp?brows…1521807078217:13440)
    at DependencyBuilder._visit (everything.jsp?brows…1521807078217:13440)
    at DependencyBuilder._visit (everything.jsp?brows…1521807078217:13440)
    at DependencyBuilder._resolveDependencies (everything.jsp?brows…1521807078217:13356)
    at DependencyBuilder.resolveDependencies (everything.jsp?brows…1521807078217:13254)
    at everything.jsp?brows…1521807078217:14566
    at new Promise (&amp;lt;anonymous&amp;gt;)
    at Loader._resolveDependencies (everything.jsp?brows…1521807078217:14562)
(anonymous)	@	home:616
(anonymous)	@	everything.jsp?brows…1521807078217:14116
Promise.then (async)		
require	@	everything.jsp?brows…1521807078217:14094
(anonymous)	@	home:611&amp;lt;/anonymous&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;br&gt;&lt;br&gt;This also happens with other react node modules. Am I doing something wrong?&lt;br&gt;&lt;br&gt;Hope I posted in right place, appreciate any help. Thanks&lt;/body&gt;&lt;/html&gt;</summary>
    <dc:creator>Josip Bošnjak</dc:creator>
    <dc:date>2018-03-23T12:45:07Z</dc:date>
  </entry>
</feed>
