Fork me on GitHub
#fulcro
<
2019-02-26
>
Björn Ebbinghaus10:02:10

@tony.kay Is there a way to get request params, which are added by middleware, to show up in fulcro inspect? I have data on root level, which I send with every request to the remote.

tony.kay14:02:55

no, additions by middleware are at the network level at that point. there is no instrumentation for what goes out since there’s already a chrome network tab

geraldodev17:02:20

trying the fulcro template depyfied version. when I call lein repl it aborts due to time out. if I call clj it brings the repl. if I call clj -A:dev it keeps processing and does not brings the repl. Anyone experiencing this behaviour ?

tony.kay17:02:55

hm…let me check

tony.kay18:02:52

I just did a lein new fulcro app; cd app; clj -A:dev and it then let me run (start)

tony.kay18:02:02

perhaps something in your global .clojure deps files?

tony.kay18:02:08

which version of Java?

tony.kay18:02:32

Java 8 is your best bet for now, though with certain JVM flags (add modules stuff) it works on any

geraldodev18:02:06

I'll turn off global .clojure http://deps.Im using java 1.8.0_201-b09

tony.kay18:02:06

you’ve made no changes to the template at all?

geraldodev18:02:08

no changes. I've updated clj to the last version to see if could help, but no I didn't

geraldodev18:02:39

the repl shows with clj -A:dev but it takes 3:25,28 total until there. when invoking via lein it times out before that, on a i5 CPU 3.20 GHz

geraldodev18:02:31

I follow alex miller and He posted https://twitter.com/puredanger/status/1098339220949819393 maybe I'm being affected by this

geraldodev18:02:48

What version of java 1.8 are you using ?

geraldodev19:02:10

I'm probably being hit by the bug. Tried in a vm (less powerfull) with java 1.8.0_161 and it starts with 30 s total

tony.kay19:02:33

weird…it starts pretty quick for me in _162

tony.kay19:02:47

I didn’t measure, but it felt quicker than 30s…but hw matters I guess

tony.kay19:02:05

must be that bug, agreed

geraldodev19:02:48

Now I'm having a NPE

geraldodev19:02:53

@tony.kay which version of tools.dep are you using ?

tony.kay19:02:28

# Version = 1.10.0.411

geraldodev20:02:56

I had 414, downgraded to 411 and the NPE persists

geraldodev20:02:56

maybe the lein version

tony.kay20:02:49

so, lein is just there for the uberjar build

tony.kay20:02:53

use deps for everything else

tony.kay20:02:59

but it should not NPE

geraldodev20:02:17

I know but the npe was when executing lein repl

tony.kay20:02:28

you should not use lein for a repl is my point

tony.kay20:02:35

only building an uberjar

geraldodev20:02:50

Before the pathom update to template I've got a depified project without using lein repl. I'm just trying the template to learn the changes and figured out that lein repl was intended workflow

geraldodev20:02:44

Out of curiosity. Which repl are you using ?

geraldodev20:02:45

with latest lein I get another error

tony.kay20:02:23

@geraldodev lein repl is not the intended workflow

tony.kay20:02:31

see my message at 12:02pm

tony.kay20:02:48

is the README in the generated project wrong?

tony.kay20:02:59

though lein repl does work fine for me in a new project…using lein 2.8.3

tony.kay20:02:13

I suspect you ahve something in your ~/.lein/ profiles

tony.kay20:02:19

probably some weird middleware

tony.kay20:02:54

Nope…the only mention of lein in the generated project README is for uberjar.

geraldodev20:02:36

@tony.kay I got that It was not the intended workflow. Sorry I didn't read the readme. I read the guide and It refers to lein repl. I disabled my .lein profile.

geraldodev20:02:35

Thank you for taking the time for doing this.

tony.kay21:02:21

Sure, I take it that worked?

tony.kay21:02:08

I stopped using lein user profiles years ago…nothing but trouble IME