Skip to content

build with example setup fails: goog.debug.Logger.level missing, required by fulcro/logging.cljc #65

@mathiasp

Description

@mathiasp

From what I learned, google closure and cljs removed that api, but fulcro2 still depends on it.

I've just set up a project and ran into this:

mathiasp:~/Projekte/helix-play% cat shadow-cljs.edn 
;; shadow-cljs configuration
{:source-paths
 ["src/dev"
  "src/main"
  "src/test"]

 :dependencies
 [[nubank/workspaces "1.1.2"]]

 :builds
 {:cards {:target     nubank.workspaces.shadow-cljs.target
          :ns-regexp  "-(test|cards)$"
          :output-dir "resources/public/js/workspaces"
          :asset-path "/js/workspaces"
          :preloads   [] ; optional, list namespaces to be pre loaded
          }}}
mathiasp:~/Projekte/helix-play% npx shadow-cljs watch cards          
shadow-cljs - config: /home/mathiasp/Projekte/helix-play/shadow-cljs.edn
shadow-cljs - server version: 2.17.2 running at http://localhost:9630
shadow-cljs - nREPL server started on port 30982
shadow-cljs - watching build :cards
[:cards] Configuring build.
[:cards] Compiling ...
[:cards] Build failure:
The required namespace "goog.debug.Logger.Level" is not available, it was required by "fulcro/logging.cljc".

This is with node 14 & 17 and OpenJDK 17.

I'm not really experienced with cljs and node dependency handling, any tips on how I can get around this?

Any help apreciated,

Mathias

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions