figwheel-main

figwheel-main http://figwheel.org
athomasoriginal 2021-04-10T00:21:19.035600Z

I haven’t seen anything like this, but what does you config look like?

athomasoriginal 2021-04-10T00:21:56.036300Z

@bhauman Also tested the latest SNAPSHOT on a larger CLJS project and we seem to be good :thumbsup:

lispers-anonymous 2021-04-10T04:09:33.036400Z

Since posting this I've gotten rid of some of the errors. Pulling moment and other libraries from npm has helped. The errors about React and ReactDOM are still there. The externs and foreign libs are just some private js libraries. They seem to be working fine, at least with the non-optimized build.

^{:auto-bundle :webpack}
{:main            pm2-ui.core
 :optimizations   :simple
 :aot-cache       false
 :clean-outputs   true
 :output-dir      "./resources/public/js/compiled/out"
 :asset-path      "/ui/js/compiled/out"
 :closure-defines {goog.DEBUG false}
 :pseudo-names    false
 :pretty-print    false
 :infer-externs   false
 :externs [...]
 :foreign-libs [...]}
My leiningen dependencies looks like this
[org.clojure/clojure "1.10.0"]
[org.clojure/clojurescript "1.10.773"]
[reagent "1.0.0" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/react-dom-server]]
[re-frame "1.2.0"]
[day8.re-frame/http-fx "v0.2.0"]
[day8.re-frame/tracing-stubs "0.5.5"]
[day8.re-frame/async-flow-fx "0.1.0"]
[devcards "0.2.7" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/create-react-class]]
[cljsjs/react-virtualized "9.18.5-1" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/create-react-class]]
[cljsjs/react-number-format "3.4.2-0" :exclusions [cljsjs/react cljsjs/react-dom cljsjs/create-react-class]]
[com.bhauman/figwheel-main "0.2.12"]

lispers-anonymous 2021-04-10T04:10:55.036600Z

I've also go these dependencies listed in my package.json

"create-react-class": "15.6.3",
"moment": "2.22.0",
"react": "16.13.0",
"react-beautiful-dnd": "13.1.0",
"react-datepicker": "1.4.1",
"react-dom": "16.13.0",
"react-select": "1.2.1"