@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
don't know the lib but maybe ["@weknow/react-bubble-chart-d3" :refer (BubbleChart)]
should be ["@weknow/react-bubble-chart-d3" :as BubbleChart]
Thanks @thheller you were right about the conflict. As for the second tip, I had tried that to no avail 😕
@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
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
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 <http://localhost:9876/>
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 (<http://localhost:9876/context.js:180:14>)
at <http://localhost:9876/context.html:36:22>
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.13 12 2020 20:36:56.964:WARN [filelist]: Pattern "/builds/buidler/prj/target/ci.js" does not match any file.
yeah looks like the file isn't created properly, likely OOM
Maybe it's the OOM killer. Looks like this issue has come up before https://clojurians-log.clojureverse.org/shadow-cljs/2019-01-05