Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save spacegangster/c3ffcb526598c40cb03bfd37a120c436 to your computer and use it in GitHub Desktop.
Save spacegangster/c3ffcb526598c40cb03bfd37a120c436 to your computer and use it in GitHub Desktop.
shadow-cljs exception
[:dev] Compiling ...
[:dev] Build failure:
failed to convert sources
{:tag :shadow.build.closure/convert-error, :sources [[:shadow.build.classpath/resource "website/js-main.js"]]}
ExceptionInfo: failed to convert sources
shadow.build.closure/convert-sources*/fn--11183 (closure.clj:1462)
shadow.build.closure/convert-sources* (closure.clj:1432)
shadow.build.closure/convert-sources* (closure.clj:1315)
shadow.build.closure/convert-sources (closure.clj:1649)
shadow.build.closure/convert-sources (closure.clj:1577)
shadow.build.compiler/maybe-closure-convert (compiler.clj:1157)
shadow.build.compiler/maybe-closure-convert (compiler.clj:1150)
shadow.build.compiler/compile-all (compiler.clj:1405)
shadow.build.compiler/compile-all (compiler.clj:1269)
shadow.build.api/compile-sources (api.clj:258)
shadow.build.api/compile-sources (api.clj:250)
shadow.build/compile (build.clj:406)
shadow.build/compile (build.clj:397)
shadow.cljs.devtools.server.worker.impl/build-compile (impl.clj:328)
shadow.cljs.devtools.server.worker.impl/build-compile (impl.clj:310)
shadow.cljs.devtools.server.worker.impl/do-resource-update (impl.clj:982)
shadow.cljs.devtools.server.worker.impl/do-resource-update (impl.clj:937)
shadow.cljs.devtools.server.util/server-thread/fn--13921/fn--13922/fn--13930 (util.clj:285)
shadow.cljs.devtools.server.util/server-thread/fn--13921/fn--13922 (util.clj:284)
shadow.cljs.devtools.server.util/server-thread/fn--13921 (util.clj:257)
java.lang.Thread.run (Thread.java:844)
Caused by:
RuntimeException: INTERNAL COMPILER ERROR.
Please report this problem.
INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(NAME hideAll): website/js-main.js:17:4
hideAll(formErrors.children)
Parent(CALL): website/js-main.js:17:4
hideAll(formErrors.children)
Node(SCRIPT): website/js-main.js:1:0
import {monitorFormInputs} from '/website/form-saturation.js';
Parent(ROOT): [source unknown]
com.google.common.base.Preconditions.checkState (Preconditions.java:491)
com.google.javascript.jscomp.ModuleRenaming.getGlobalName (ModuleRenaming.java:60)
com.google.javascript.jscomp.ModuleRenaming.getGlobalName (ModuleRenaming.java:84)
com.google.javascript.jscomp.ModuleRenaming.getGlobalName (ModuleRenaming.java:94)
com.google.javascript.jscomp.ModuleRenaming.replace (ModuleRenaming.java:207)
com.google.javascript.jscomp.Es6RewriteModules$RenameGlobalVars.visit (Es6RewriteModules.java:866)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:866)
com.google.javascript.jscomp.NodeTraversal.traverseChildren (NodeTraversal.java:978)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:862)
com.google.javascript.jscomp.NodeTraversal.traverseChildren (NodeTraversal.java:978)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:862)
com.google.javascript.jscomp.NodeTraversal.traverseChildren (NodeTraversal.java:978)
com.google.javascript.jscomp.NodeTraversal.traverseBlockScope (NodeTraversal.java:986)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:860)
com.google.javascript.jscomp.NodeTraversal.traverseFunction (NodeTraversal.java:905)
com.google.javascript.jscomp.NodeTraversal.handleFunction (NodeTraversal.java:815)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:841)
com.google.javascript.jscomp.NodeTraversal.traverseChildren (NodeTraversal.java:978)
com.google.javascript.jscomp.NodeTraversal.handleScript (NodeTraversal.java:803)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:838)
com.google.javascript.jscomp.NodeTraversal.traverse (NodeTraversal.java:370)
com.google.javascript.jscomp.NodeTraversal.traverse (NodeTraversal.java:380)
com.google.javascript.jscomp.Es6RewriteModules.visitScript (Es6RewriteModules.java:546)
com.google.javascript.jscomp.Es6RewriteModules.visit (Es6RewriteModules.java:376)
com.google.javascript.jscomp.NodeTraversal.handleScript (NodeTraversal.java:805)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:838)
com.google.javascript.jscomp.NodeTraversal.traverse (NodeTraversal.java:370)
com.google.javascript.jscomp.NodeTraversal.traverse (NodeTraversal.java:380)
com.google.javascript.jscomp.Es6RewriteModules.processFile (Es6RewriteModules.java:184)
com.google.javascript.jscomp.Es6RewriteModules.hotSwapScript (Es6RewriteModules.java:173)
com.google.javascript.jscomp.Es6RewriteModules.process (Es6RewriteModules.java:162)
com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process (PhaseOptimizer.java:317)
com.google.javascript.jscomp.PhaseOptimizer.process (PhaseOptimizer.java:232)
com.google.javascript.jscomp.Compiler.check (Compiler.java:1038)
com.google.javascript.jscomp.Compiler.performChecksAndTranspilation (Compiler.java:841)
com.google.javascript.jscomp.Compiler.lambda$stage1Passes$0 (Compiler.java:771)
com.google.javascript.jscomp.CompilerExecutor.runInCompilerThread (CompilerExecutor.java:129)
com.google.javascript.jscomp.Compiler.runInCompilerThread (Compiler.java:829)
com.google.javascript.jscomp.Compiler.stage1Passes (Compiler.java:769)
shadow.build.closure/convert-sources*/fn--11183/fn--11184/fn--11185 (closure.clj:1452)
shadow.build.closure/convert-sources*/fn--11183/fn--11184 (closure.clj:1439)
shadow.build.closure/convert-sources*/fn--11183 (closure.clj:1433)
shadow.build.closure/convert-sources* (closure.clj:1432)
shadow.build.closure/convert-sources* (closure.clj:1315)
shadow.build.closure/convert-sources (closure.clj:1649)
shadow.build.closure/convert-sources (closure.clj:1577)
shadow.build.compiler/maybe-closure-convert (compiler.clj:1157)
shadow.build.compiler/maybe-closure-convert (compiler.clj:1150)
shadow.build.compiler/compile-all (compiler.clj:1405)
shadow.build.compiler/compile-all (compiler.clj:1269)
shadow.build.api/compile-sources (api.clj:258)
shadow.build.api/compile-sources (api.clj:250)
shadow.build/compile (build.clj:406)
shadow.build/compile (build.clj:397)
shadow.cljs.devtools.server.worker.impl/build-compile (impl.clj:328)
shadow.cljs.devtools.server.worker.impl/build-compile (impl.clj:310)
shadow.cljs.devtools.server.worker.impl/do-resource-update (impl.clj:982)
shadow.cljs.devtools.server.worker.impl/do-resource-update (impl.clj:937)
shadow.cljs.devtools.server.util/server-thread/fn--13921/fn--13922/fn--13930 (util.clj:285)
shadow.cljs.devtools.server.util/server-thread/fn--13921/fn--13922 (util.clj:284)
shadow.cljs.devtools.server.util/server-thread/fn--13921 (util.clj:257)
java.lang.Thread.run (Thread.java:844)
Caused by:
RuntimeException: INTERNAL COMPILER ERROR.
Please report this problem.
null
Node(NAME hideAll): website/js-main.js:17:4
hideAll(formErrors.children)
Parent(CALL): website/js-main.js:17:4
hideAll(formErrors.children)
com.google.common.base.Preconditions.checkState (Preconditions.java:491)
com.google.javascript.jscomp.ModuleRenaming.getGlobalName (ModuleRenaming.java:60)
com.google.javascript.jscomp.ModuleRenaming.getGlobalName (ModuleRenaming.java:84)
com.google.javascript.jscomp.ModuleRenaming.getGlobalName (ModuleRenaming.java:94)
com.google.javascript.jscomp.ModuleRenaming.replace (ModuleRenaming.java:207)
com.google.javascript.jscomp.Es6RewriteModules$RenameGlobalVars.visit (Es6RewriteModules.java:866)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:866)
com.google.javascript.jscomp.NodeTraversal.traverseChildren (NodeTraversal.java:978)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:862)
com.google.javascript.jscomp.NodeTraversal.traverseChildren (NodeTraversal.java:978)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:862)
com.google.javascript.jscomp.NodeTraversal.traverseChildren (NodeTraversal.java:978)
com.google.javascript.jscomp.NodeTraversal.traverseBlockScope (NodeTraversal.java:986)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:860)
com.google.javascript.jscomp.NodeTraversal.traverseFunction (NodeTraversal.java:905)
com.google.javascript.jscomp.NodeTraversal.handleFunction (NodeTraversal.java:815)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:841)
com.google.javascript.jscomp.NodeTraversal.traverseChildren (NodeTraversal.java:978)
com.google.javascript.jscomp.NodeTraversal.handleScript (NodeTraversal.java:803)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:838)
com.google.javascript.jscomp.NodeTraversal.traverse (NodeTraversal.java:370)
com.google.javascript.jscomp.NodeTraversal.traverse (NodeTraversal.java:380)
com.google.javascript.jscomp.Es6RewriteModules.visitScript (Es6RewriteModules.java:546)
com.google.javascript.jscomp.Es6RewriteModules.visit (Es6RewriteModules.java:376)
com.google.javascript.jscomp.NodeTraversal.handleScript (NodeTraversal.java:805)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:838)
com.google.javascript.jscomp.NodeTraversal.traverse (NodeTraversal.java:370)
com.google.javascript.jscomp.NodeTraversal.traverse (NodeTraversal.java:380)
com.google.javascript.jscomp.Es6RewriteModules.processFile (Es6RewriteModules.java:184)
com.google.javascript.jscomp.Es6RewriteModules.hotSwapScript (Es6RewriteModules.java:173)
com.google.javascript.jscomp.Es6RewriteModules.process (Es6RewriteModules.java:162)
com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process (PhaseOptimizer.java:317)
com.google.javascript.jscomp.PhaseOptimizer.process (PhaseOptimizer.java:232)
com.google.javascript.jscomp.Compiler.check (Compiler.java:1038)
com.google.javascript.jscomp.Compiler.performChecksAndTranspilation (Compiler.java:841)
com.google.javascript.jscomp.Compiler.lambda$stage1Passes$0 (Compiler.java:771)
com.google.javascript.jscomp.CompilerExecutor.runInCompilerThread (CompilerExecutor.java:129)
com.google.javascript.jscomp.Compiler.runInCompilerThread (Compiler.java:829)
com.google.javascript.jscomp.Compiler.stage1Passes (Compiler.java:769)
shadow.build.closure/convert-sources*/fn--11183/fn--11184/fn--11185 (closure.clj:1452)
shadow.build.closure/convert-sources*/fn--11183/fn--11184 (closure.clj:1439)
shadow.build.closure/convert-sources*/fn--11183 (closure.clj:1433)
shadow.build.closure/convert-sources* (closure.clj:1432)
shadow.build.closure/convert-sources* (closure.clj:1315)
shadow.build.closure/convert-sources (closure.clj:1649)
shadow.build.closure/convert-sources (closure.clj:1577)
shadow.build.compiler/maybe-closure-convert (compiler.clj:1157)
shadow.build.compiler/maybe-closure-convert (compiler.clj:1150)
shadow.build.compiler/compile-all (compiler.clj:1405)
shadow.build.compiler/compile-all (compiler.clj:1269)
shadow.build.api/compile-sources (api.clj:258)
shadow.build.api/compile-sources (api.clj:250)
shadow.build/compile (build.clj:406)
shadow.build/compile (build.clj:397)
shadow.cljs.devtools.server.worker.impl/build-compile (impl.clj:328)
shadow.cljs.devtools.server.worker.impl/build-compile (impl.clj:310)
shadow.cljs.devtools.server.worker.impl/do-resource-update (impl.clj:982)
shadow.cljs.devtools.server.worker.impl/do-resource-update (impl.clj:937)
shadow.cljs.devtools.server.util/server-thread/fn--13921/fn--13922/fn--13930 (util.clj:285)
shadow.cljs.devtools.server.util/server-thread/fn--13921/fn--13922 (util.clj:284)
shadow.cljs.devtools.server.util/server-thread/fn--13921 (util.clj:257)
java.lang.Thread.run (Thread.java:844)
Caused by:
IllegalStateException:
com.google.common.base.Preconditions.checkState (Preconditions.java:491)
com.google.javascript.jscomp.ModuleRenaming.getGlobalName (ModuleRenaming.java:60)
com.google.javascript.jscomp.ModuleRenaming.getGlobalName (ModuleRenaming.java:84)
com.google.javascript.jscomp.ModuleRenaming.getGlobalName (ModuleRenaming.java:94)
com.google.javascript.jscomp.ModuleRenaming.replace (ModuleRenaming.java:207)
com.google.javascript.jscomp.Es6RewriteModules$RenameGlobalVars.visit (Es6RewriteModules.java:866)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:866)
com.google.javascript.jscomp.NodeTraversal.traverseChildren (NodeTraversal.java:978)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:862)
com.google.javascript.jscomp.NodeTraversal.traverseChildren (NodeTraversal.java:978)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:862)
com.google.javascript.jscomp.NodeTraversal.traverseChildren (NodeTraversal.java:978)
com.google.javascript.jscomp.NodeTraversal.traverseBlockScope (NodeTraversal.java:986)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:860)
com.google.javascript.jscomp.NodeTraversal.traverseFunction (NodeTraversal.java:905)
com.google.javascript.jscomp.NodeTraversal.handleFunction (NodeTraversal.java:815)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:841)
com.google.javascript.jscomp.NodeTraversal.traverseChildren (NodeTraversal.java:978)
com.google.javascript.jscomp.NodeTraversal.handleScript (NodeTraversal.java:803)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:838)
com.google.javascript.jscomp.NodeTraversal.traverse (NodeTraversal.java:370)
com.google.javascript.jscomp.NodeTraversal.traverse (NodeTraversal.java:380)
com.google.javascript.jscomp.Es6RewriteModules.visitScript (Es6RewriteModules.java:546)
com.google.javascript.jscomp.Es6RewriteModules.visit (Es6RewriteModules.java:376)
com.google.javascript.jscomp.NodeTraversal.handleScript (NodeTraversal.java:805)
com.google.javascript.jscomp.NodeTraversal.traverseBranch (NodeTraversal.java:838)
com.google.javascript.jscomp.NodeTraversal.traverse (NodeTraversal.java:370)
com.google.javascript.jscomp.NodeTraversal.traverse (NodeTraversal.java:380)
com.google.javascript.jscomp.Es6RewriteModules.processFile (Es6RewriteModules.java:184)
com.google.javascript.jscomp.Es6RewriteModules.hotSwapScript (Es6RewriteModules.java:173)
com.google.javascript.jscomp.Es6RewriteModules.process (Es6RewriteModules.java:162)
com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process (PhaseOptimizer.java:317)
com.google.javascript.jscomp.PhaseOptimizer.process (PhaseOptimizer.java:232)
com.google.javascript.jscomp.Compiler.check (Compiler.java:1038)
com.google.javascript.jscomp.Compiler.performChecksAndTranspilation (Compiler.java:841)
com.google.javascript.jscomp.Compiler.lambda$stage1Passes$0 (Compiler.java:771)
com.google.javascript.jscomp.CompilerExecutor.runInCompilerThread (CompilerExecutor.java:129)
com.google.javascript.jscomp.Compiler.runInCompilerThread (Compiler.java:829)
com.google.javascript.jscomp.Compiler.stage1Passes (Compiler.java:769)
shadow.build.closure/convert-sources*/fn--11183/fn--11184/fn--11185 (closure.clj:1452)
shadow.build.closure/convert-sources*/fn--11183/fn--11184 (closure.clj:1439)
shadow.build.closure/convert-sources*/fn--11183 (closure.clj:1433)
shadow.build.closure/convert-sources* (closure.clj:1432)
shadow.build.closure/convert-sources* (closure.clj:1315)
shadow.build.closure/convert-sources (closure.clj:1649)
shadow.build.closure/convert-sources (closure.clj:1577)
shadow.build.compiler/maybe-closure-convert (compiler.clj:1157)
shadow.build.compiler/maybe-closure-convert (compiler.clj:1150)
shadow.build.compiler/compile-all (compiler.clj:1405)
shadow.build.compiler/compile-all (compiler.clj:1269)
shadow.build.api/compile-sources (api.clj:258)
shadow.build.api/compile-sources (api.clj:250)
shadow.build/compile (build.clj:406)
shadow.build/compile (build.clj:397)
shadow.cljs.devtools.server.worker.impl/build-compile (impl.clj:328)
shadow.cljs.devtools.server.worker.impl/build-compile (impl.clj:310)
shadow.cljs.devtools.server.worker.impl/do-resource-update (impl.clj:982)
shadow.cljs.devtools.server.worker.impl/do-resource-update (impl.clj:937)
shadow.cljs.devtools.server.util/server-thread/fn--13921/fn--13922/fn--13930 (util.clj:285)
shadow.cljs.devtools.server.util/server-thread/fn--13921/fn--13922 (util.clj:284)
shadow.cljs.devtools.server.util/server-thread/fn--13921 (util.clj:257)
java.lang.Thread.run (Thread.java:844)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment