-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiling: cljsjs/<some-lib>.inc.js is not a relative path #168
Comments
After looking at the jira ticket for the cljs fix it seems like there's some weird behavior with |
I did see this exception in some configuration, but don't remember what caused this. Now I have several projects working with Cljs 1.9.854, Boot-cljs and Cljsjs packages. |
Are you using |
I've been wracking the compiler options, cljs-jira and my boot file for anything that might be connected. No luck yet. No, i'm not using
The
Nothing seems out of ordinary. 😕 |
Seems ordinary. Do you have .cljs.edn file? I just updated Saapas to use latest deps: https://github.com/Deraen/saapas, works for me. You could check that to validate if this is something with project, or something with env (OS X?) |
I do not have a .cljs.edn file. In fact I had to go read what those were about. It doesn't seem necessary given that a |
Without .cljs.edn boot-cljs will compile ALL .cljs file in fileset, even those that are not needed by your :preloads or :main, which sometimes causes strange problems. |
I've tinkered around with this for quite a while, but I'm still getting an error: Here are the deps:
And the task:
And the corresponding
I've tried this with and without I've been digging around the changes made to cljsjs/react* in the last week, as well as the reagent alpha and an example working repo for inspiration. I have not yet found what might be causing the problem. I know that boot-cljs overrides the ** Im going to attempt to get a minimum case. |
I was able to make a minimum case, and I think it has to do with preloads and maybe an out of date dependency.
Compiling with |
After some further digging into mvn dependency resolution prompted by @Deraen , I retooled some of my
Which looks proper to me -- there's no nested or conflicting versions. And the full dep list for posterity (edited to remove fluff):
This also looks proper, as some It's still confounding to me, though, that this compiles properly:
And this does not
|
Has anyone been able to compile bleeding edge clojurescript 1.9.854 (with the
global-exports
feature) when compiling with dependencies from cljsjs?I’m getting a stack error of
Per the alpha recommendation of reagent 0.8, I have added a foreign-lib config to my
:compiler-options
:I know the clojure version is still a release candidate, but I'm not really sure where to start digging. We have one suspect here at issue CLJS-2152. Did this release fix a "problem" on which boot-cljs was depending?
The text was updated successfully, but these errors were encountered: