Fork me on GitHub
#shadow-cljs
<
2020-12-13
>
thheller09:12:10

@ggfpc12495 this is likely caused by a version conflict. make sure the dependency version listed in node_modules/recharts/package.json matches the actual node_modules/core-js/package.json version

thheller09:12:44

don't know the lib but maybe ["@weknow/react-bubble-chart-d3" :refer (BubbleChart)] should be ["@weknow/react-bubble-chart-d3" :as BubbleChart]

GGfpc12:12:12

Thanks @thheller you were right about the conflict. As for the second tip, I had tried that to no avail 😕

thheller19:12:31

@ggfpc12495 might also be ["@weknow/react-bubble-chart-d3" :default BubbleChart] see the translation table at https://shadow-cljs.github.io/docs/UsersGuide.html#_using_npm_packages

GGfpc19:12:18

I'm not sure if it's related to the import If you read this thread you can see some suggestions that I've tried https://clojurians.slack.com/archives/C6N245JGG/p1607808078432400

Buidler20:12:41

I'm getting this error in my ci:

WARNING: When invoking clojure.main, use -M
$ npx karma start --single-run
13 12 2020 20:36:56.964:WARN [filelist]: Pattern "/builds/buidler/prj/target/ci.js" does not match any file.
13 12 2020 20:36:56.975:INFO [karma-server]: Karma v5.2.3 server started at 
13 12 2020 20:36:56.976:INFO [launcher]: Launching browsers ChromeHeadlessNoSandbox with concurrency unlimited
13 12 2020 20:36:56.983:INFO [launcher]: Starting browser ChromeHeadless
13 12 2020 20:36:58.523:INFO [Chrome Headless 87.0.4280.66 (Linux x86_64)]: Connected on socket tCMp7MAbveBvUWK6AAAA with id 26441006
Chrome Headless 87.0.4280.66 (Linux x86_64) ERROR
  ReferenceError: shadow is not defined
      at eval (eval at <anonymous> (/builds/buidler/prj/node_modules/karma-cljs-test/adapter.js:6:7), <anonymous>:1:1)
      at ContextKarma.start (/builds/buidler/prj/node_modules/karma-cljs-test/adapter.js:6:7)
      at ContextKarma.loaded ()
      at 
Cleaning up file based variables
ERROR: Job failed: exit code 1
It just randomly started happening without any related changes. Now if I go back to the last passing build and try to rebuild it, that fails too.

Buidler22:12:24

Maybe it's the OOM killer. Looks like this issue has come up before https://clojurians-log.clojureverse.org/shadow-cljs/2019-01-05

thheller09:12:32

13 12 2020 20:36:56.964:WARN [filelist]: Pattern "/builds/buidler/prj/target/ci.js" does not match any file.

thheller09:12:51

yeah looks like the file isn't created properly, likely OOM