<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged react-bootstrap</title>
<link>https://ask.clojure.org/index.php/tag/react-bootstrap</link>
<description></description>
<item>
<title>Compiling shadow-cljs projects with NPM transitive dependency conflicts</title>
<link>https://ask.clojure.org/index.php/8665/compiling-shadow-projects-transitive-dependency-conflicts</link>
<description>&lt;p&gt;I am attempting to make use of the &lt;code&gt;react-bootstrap&lt;/code&gt; module by leveraging NPM support in &lt;code&gt;shadow-cljs&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;First I add &lt;code&gt;react-bootstrap&lt;/code&gt; and &lt;code&gt;bootstrap&lt;/code&gt; to &lt;code&gt;package.json&lt;/code&gt;:&lt;br&gt;
&lt;code&gt;$ yarn add react-bootstrap bootstrap&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;And then require &lt;code&gt;react-bootstrap&lt;/code&gt; in my project:&lt;br&gt;
&lt;code&gt;(ns myproject.core
  (:require [&quot;react-bootstrap&quot; :as bs]))&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The result is a runtime exception in the console:&lt;br&gt;
&lt;code&gt;TypeError: (0 , _uncontrollable.default) is not a function&lt;/code&gt;&lt;br&gt;
... which curiously goes away after the first hot-reload.&lt;/p&gt;
&lt;p&gt;The exception likely indicates a conflict in a nested NPM dependency. How can I identity and resolve the problem?&lt;/p&gt;
</description>
<category>ClojureScript</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/8665/compiling-shadow-projects-transitive-dependency-conflicts</guid>
<pubDate>Thu, 26 Sep 2019 18:08:41 +0000</pubDate>
</item>
</channel>
</rss>