Fork me on GitHub
#clojurescript
<
2018-07-01
>
Petrus Theron09:07:44

Getting cljs.analyzer error on a boot project running latest Cljs and Reagent after updating some deps:

java.lang.ClassNotFoundException: cljs.analyzer
clojure.lang.Compiler$CompilerException: java.lang.ClassNotFoundException: cljs.analyzer, compiling:(reagent/debug.clj:49:12)
Elapsed time: 9.531 sec
I’ve google all I can, upgraded my cljs version to latest, but no dice. Apparently this is related to javax.xml.bind being deprecated, but should supposedly be fixed in latest Cljs 1.10+. I’ve tried boot show -d to figure out if there is a conflict, but I can’t spot it. Any ideas, Clojuristas?

Ayoung11:07:27

Good evening! I am embed the typeform but every time need to refresh the page to be able to load it. anyone have a solution for that?

orestis11:07:12

@saing.sab can you provide a little more context? It’s hard to understand what are you trying to do and what the problem is.

urbanslug12:07:26

Hey, I have a problem with importing fontawesome for cljs using shadowcljs basically this

(ns my.ns
  (:require [react-dom :as r]
            [@fortawesome.react-fontawesome :as refer [fontAwesomeIcon]]
            [@fortawesome/free-solid-svg-icons :refer [faCoffee]]))

urbanslug12:07:37

I am using reagent and shadow cljs

urbanslug12:07:00

however the @ in the import seems to make it not work at all

mfikes12:07:06

@urbanslug Try using strings instead. For example "@fortawesome.react-fontawesome"

urbanslug12:07:37

Doesn't seem to work

urbanslug12:07:43

I'll do it the old way for now

Ayoung12:07:29

HI @orestis I use the https://www.typeform.com but it's only show in the page when user refresh only, if user go to other page then come back it's will be blank until refresh it's does show again.

urbanslug13:07:16

OK I must've been doing it wrong

urbanslug13:07:21

using the quotes worked

justinlee16:07:29

@urbanslug you had “fortawesome” instead of “fontawesome”

urbanslug17:07:43

it should be fortawesome

urbanslug17:07:18

the fontawesome docs refer you there for react

urbanslug17:07:57

but for now I'll just import fontawesme css in the html

justinlee17:07:41

oh. that’s confusing 🙂

👍 4