This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-12-01
Channels
- # adventofcode (93)
- # announcements (44)
- # asami (23)
- # aws (1)
- # babashka (48)
- # beginners (112)
- # calva (26)
- # cider (57)
- # clj-kondo (17)
- # cljfx (5)
- # cljs-dev (21)
- # clojure (124)
- # clojure-europe (19)
- # clojure-hungary (40)
- # clojure-nl (3)
- # clojure-spec (7)
- # clojure-uk (3)
- # clojurescript (3)
- # cursive (81)
- # datalog (11)
- # events (21)
- # exercism (1)
- # fulcro (37)
- # graalvm (1)
- # introduce-yourself (8)
- # jobs (1)
- # lsp (1)
- # malli (5)
- # membrane-term (17)
- # minecraft (3)
- # nextjournal (5)
- # off-topic (14)
- # other-lisps (14)
- # polylith (58)
- # reagent (16)
- # reclojure (3)
- # reitit (6)
- # remote-jobs (1)
- # shadow-cljs (55)
- # spacemacs (15)
- # testing (2)
- # tools-build (7)
- # tools-deps (191)
I went back over the changes I actually handled this case, locally I could not reproduce once I just used the latest GCL
@orestis @borkdude cutting a release for these 2 regressions now - thanks for the reports
@orestis I think should amend my early statement since base.js
was definitely in there as providing goog
- so I guess goog.require("goog");
is meant to work in JS - so it should probably work in ClojureScript
I got confused because I did fix this because some code relies on it - but I was using deps.edn / and CI uses that
@borkdude yeah it's annoying - ClojureScript is so old that we just a bunch of methods lying around
I'm somewhat loathe to change stuff here because different contributors having different methods
in ClojureScript repo, we have bash + classpath, deps.edn, project.clj and pom for releases
I'm endeavouring to get CLJS compiling under Bazel. it's dying with
{:type clojure.lang.ExceptionInfo,
:message
"No such namespace: goog.math.Long, could not locate goog/math/Long.cljs, goog/math/Long.cljc, or JavaScript source providing \"goog.math.Long\" in file /build/work/49eec4856eb3c9b898a9f1d1f20335698d75/project/bazel-out/host/bin/third_party/clojure/org_clojure_clojurescript/compiler.runfiles/project/third_party/clojure/org_clojure_clojurescript/src/main/cljs/core.cljs",
:data {:tag :cljs/analysis-error},
:at [cljs.analyzer$error invokeStatic "analyzer.cljc" 719]}]
which suggests it's not finding the GCL JS files properly. where does it expect to find the GCL namespaces like goog.math.Long
(provided in math/long.js
)?FYI I’m working on https://github.com/griffinbank/rules_clojure
it has in-progress support for CLJS. I have a good chunk of uncommitted work I need to push
my working guess is that it should be on the classpath as goog/math/long.js