shadow-cljs

Priyankaa 2025-06-26T05:14:55.991379Z

[:app] Compiling ... Failed to inspect file /home/circleci/numbered-headings/node_modules/@radix-ui/react-collection/dist/index.js Errors encountered while trying to parse file /home/circleci/numbered-headings/node_modules/@radix-ui/react-collection/dist/index.js {:line 117, :column 2, :message "'}' expected"} error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. Exited with code exit status 1

thheller 2025-06-26T05:22:54.197089Z

unfortunately that means that particular library is probably using some JS syntax that the closure compiler does not support

thheller 2025-06-26T05:23:52.767919Z

assuming you are using the very latest shadow-cljs version the only fix is using a different JS tool to package JS dependencies via :js-provider :external https://shadow-cljs.github.io/docs/UsersGuide.html#js-provider-external

thheller 2025-06-26T05:24:02.204659Z

or not using that particular lib 😉

mitchelkuijpers 2025-06-30T14:45:48.762939Z

Does that work nice with a REPL? Would be interesting to see how you have set that up tbh

niwinz 2025-06-29T09:59:13.047869Z

plus_one , we passed to use esbuild to package all external dependencies and leave shadow compile cljs only, and since that, we removed several points of friction on include or choice an external dependency

Priyankaa 2025-06-26T05:16:50.482939Z

can anyone pls help how can i fix the above issue?