-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReferenceError: $jscomp is not defined #40
Comments
Hmm I can't say I've ever seen this or know what the issue is, it feels more ClojureScript compiler related than this repos code. It actually seems more related to the Google Closure Compiler: https://stackoverflow.com/questions/57458122/how-to-fix-referenceerror-cant-find-variable-jscomp-phantomjs-or-refere It might be worth trying to pin to a slightly older Clojure / ClojureScript version too 🤔 I wonder if any breaking changes were introduced that I'm not aware of? I'll try to dig deeper into this soon, but I'm really busy for the next few days at least I'm afraid. |
@Olical Makes sense. |
Gave it a go with a ClojureScript version from 2018 (1.10.145) without success. Tried :output-feature-set :es6 as well, but the situation didn't change. By the way, this is a Reagent project.
"dependencies": {
"react": "17.0.1",
"react-dom": "17.0.1"
} Do you think we should close the ticket? On my side it's OK because I only intend to run these tests in CI, and a longer build time is not such a big concern. |
deps.edn:
test.cljs.edn:
Works with
:simple
optimizations.Breaks like this with
:whitespace
optimizations:Breaks likes this with
:none
optimizations:The text was updated successfully, but these errors were encountered: