This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-16
Channels
- # announcements (33)
- # asami (37)
- # autochrome-github (1)
- # aws (5)
- # babashka (26)
- # babashka-sci-dev (18)
- # beginners (63)
- # biff (1)
- # calva (66)
- # cider (15)
- # clj-kondo (24)
- # cljs-dev (2)
- # cljsrn (14)
- # clojure (62)
- # clojure-doc (1)
- # clojure-europe (15)
- # clojure-nl (11)
- # clojure-spec (12)
- # clojure-uk (4)
- # clojurescript (45)
- # community-development (2)
- # cursive (34)
- # datahike (7)
- # datomic (7)
- # events (1)
- # figwheel-main (5)
- # fulcro (19)
- # gratitude (7)
- # holy-lambda (85)
- # hyperfiddle (4)
- # jobs (7)
- # jobs-discuss (25)
- # kaocha (4)
- # lsp (11)
- # off-topic (1)
- # polylith (20)
- # portal (14)
- # practicalli (6)
- # proletarian (5)
- # rdf (52)
- # re-frame (13)
- # reagent (48)
- # releases (1)
- # remote-jobs (3)
- # shadow-cljs (7)
- # tools-deps (17)
So I'm trying to use :npm-module
and running into this issue
https://github.com/thheller/shadow-cljs/issues/908
Except mine is
internal module error, no mod for dep:[:shadow.build.classpath/resource "goog/promise/promise.js"]
{:dep [:shadow.build.classpath/resource "goog/promise/promise.js"]}
ExceptionInfo: internal module error, no mod for dep:[:shadow.build.classpath/resource "goog/promise/promise.js"]
Happy to try to work on a reproducing case. Just wanted to see given its similarity to the existing issue if there is anything I should be looking at or could possibly do to fix the issue. (Sadly :node-library is not an option and one of my deps doesn't play well with :esm
.)@jimmy which shadow-cljs version is this? this shouldn't be an issue with any not super old version?
Sorry for the bother. I had checked I was on the latest version. But did not notice that someone was overriding the version in the alias I was using to build this. Works fine on the latest version. Thanks
Hi, @thheller. I'm trying to use defclass
from your shadow.cljs.modern
namespace, but I keep getting errors like "cannot infer target on expression". For example, at this code:
(modern/defclass TextEditor
(constructor [this params])
Object
(sommething [this]))
I get:
Cannot infer target type in expression (. (. TextEditor -prototype) -sommething)