Fork me on GitHub
#shadow-cljs
<
2020-06-07
>
Filipe Silva13:06:27

I was taking a look at devcards 0.2.7 and it fails to build with Shadow-CLJS

Filipe Silva13:06:11

but I'm sorta unsure if this is a configuration problem in my setup, maybe I should be providing that namespace somehow?

Filipe Silva13:06:26

it seems to be defined in it's deps.cljs

Filipe Silva13:06:28

https://github.com/bhauman/devcards/blob/master/src/deps.cljs

{:foreign-libs
 [{:file "devcards/js_libs/highlight.pack.js"
   :provides ["devcards-syntax-highlighter"]
   :global-exports {devcards-syntax-highlighter DevcardsSyntaxHighlighter}}
  {:file "devcards/js_libs/marked.min.js"
   :provides ["devcards-marked"]
   :global-exports {devcards-marked DevcardsMarked}}]
 :externs ["devcards/js_libs/highlight.ext.js"
           "devcards/js_libs/marked.ext.js"]
 :npm-deps {"create-react-class" "15.6.3"
            "react" "16.13.1"
            "react-dom" "16.13.1"}}

Filipe Silva13:06:53

this is a fairly new release as well so maybe there was some misconfiguration there

Filipe Silva13:06:11

wondering if someone has ran into it, or knows what should be done

thheller13:06:44

@filipematossilva answered in the devcards issue

Filipe Silva13:06:29

thank you @thheller, testing with that redirect

David Pham18:06:40

I added a comment on how you could hack a solution for 0.2.7 using some undocumented options from shadow-cljs.

alex-eberts17:06:26

Hi All, I’ve got a shadow-cljs project that builds and runs fine on my Mac but the dev-http server does not startup on an arch linux box. Has anyone seen this before and what do you recommend to tracking down the issue?

alex-eberts17:06:13

Things we’ve tried on the Linux box include: • Upgrading node to latest with pacman • Clearing node cache and reloading dependencies

thheller18:06:33

node is not involved in :dev-http

thheller18:06:42

what messages do you get on startup?

jdkealy23:06:20

I can’t seem to get CSS reloading working. From everything I’ve read, there’s supposed to basically no configuration involved. I have reframe and 10x running, a sass compiler, absolute path to the CSS (include-css "/css/site.css") tried tinkering with :watch-dir "resources/public/" and :watch-dir "resources/public/css" / restarting shadow .etc. What else should I try ?

mikethompson23:06:16

@jdkealy did you use re-frame-template?

mikethompson23:06:23

So you have followed the instructions there?

jdkealy23:06:36

Ah, thanks I see now.