Fork me on GitHub
#boot
<
2016-04-18
>
urbanslug06:04:16

Hey, where does boot install checkouts or how does it do this?

urbanslug06:04:53

Boot is saying that a checkout installed via defmulti lacks a function but I know it’s there.

urbanslug06:04:45

Getting this weird error from boot adzerk.boot_cljs.util.proxy$java.lang.Throwable$ff19274a: Could not locate figwheel/client/utils__init.class or figwheel/client/utils.clj on classpath.

martinklepsch08:04:04

@urbanslug: are you referring to checkouts as they exist in leinigen?

martinklepsch08:04:14

@urbanslug: if so try boot checkout --help

martinklepsch09:04:52

@urbanslug: are you trying to use figwheel as checkout dependency?

urbanslug09:04:25

Wait, I don’t know whether for a fact that my checkouts don’t depend on figwheel

urbanslug09:04:36

But this project doesn't

martinklepsch09:04:12

something in your code seems to require figwheel.client.utils — that's what the error above is about

dominicm10:04:14

boot-cljs depends on figwheel, doesn't it? Or.. the code does, it assumes it is provided.

dominicm10:04:04

I'm thinking of piggieback/weasel. My mistake

martinklepsch10:04:35

@dominicm: it doesn't depend on these either. boot-cljs-repl requires them to be provided. boot-cljs is separate to this stuff.

dominicm10:04:34

@martinklepsch: Ah. I always worked off the example, so it's just one big package in my head.

urbanslug11:04:24

@martinklepsch: You think it could be a transitive dependency issue? or that one of my checkouts needs it?

martinklepsch11:04:48

@urbanslug: you can see the dependency tree via boot show -d if anything would depend on it it shows up there. but in that case it would also be present during compilation

martinklepsch11:04:13

@urbanslug: have you tried searching your codebase/checkout's codebases for occurences of "figwheel"?

urbanslug11:04:40

The answer is partly, can’t find all my checkouts on disk.

martinklepsch11:04:26

@urbanslug: how many checkouts are you using?

martinklepsch11:04:55

@urbanslug: have you tried with dependencies as they come from clojars?

urbanslug11:04:34

martinklepsch: On it

urbanslug11:04:45

4 checkout deps

urbanslug11:04:08

No without the checkout deps it doesn’t raise the figwheel error

urbanslug11:04:14

That narrows it down

martinklepsch12:04:22

@urbanslug: try figuring out which checkout dep is causing the error and then remove the figwheel references as needed simple_smile

urbanslug12:04:45

@martinklepsch: Thanks for helping me so much.

martinklepsch12:04:13

@urbanslug: you're welcome simple_smile let me know how it goes

urbanslug12:04:04

Okay, I have found the offending package but does that mean we can’t depend on packages that depend on figwheel under plugins?

martinklepsch12:04:00

@urbanslug: what's the package? usually figwheel is a "development time" dependency and should be specified as such

urbanslug12:04:57

Let me link to it

juhoteperi12:04:57

Lein plugins are not dependencies.

martinklepsch12:04:33

@urbanslug: have you tried step by step using checkout A, B, C, D, so that you know for sure which snapshot to look in?

martinklepsch12:04:55

as @juhoteperi said, the plugin shouldn't cause this kind of error

urbanslug12:04:37

@martinklepsch: When I remove that depend I don’t get the figwheel error but rather an error that that a namespace or function from that dependency can’t be found.

urbanslug12:04:30

That’s what makes me believe that it is the offending package.

juhoteperi12:04:14

How are you using checkouts? You should have the checkout dependency both in dependencies and in checkout task?

urbanslug12:04:02

I’m removing them from checkouts and adding them to normal depends since they all seem to be on clojars. The boot file is kinda old.

kenny21:04:38

Why is the checkout task deprecated?

micha21:04:33

there is the --checkouts option in 2.6.0

micha21:04:41

and :checkouts env key

micha21:04:47

the implementation is better

micha21:04:12

the 2.6.0 way is nearly seamless

kenny21:04:01

Is 2.6.0 released?

kenny21:04:33

Ah it's a SNAPSHOT release currently. Is it stable enough?

martinklepsch22:04:46

oh, what was wrong with the checkout task? @micha