8000 compiling: cljsjs/<some-lib>.inc.js is not a relative path · Issue #168 · boot-clj/boot-cljs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
compiling: cljsjs/<some-lib>.inc.js is not a relative path #168
Open
@lwhorton

Description

@lwhorton

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

/Users/.../.boot/cache/tmp3s9/d54ps8/main.out/cljsjs/development/moment.inc.js is not a relative path {:from :boot-cljs}

Per the alpha recommendation of reagent 0.8, I have added a foreign-lib config to my :compiler-options:

;; note this is improper -- moment should be /cljsjs/moment/moment.file--, but
;; it's packaged incorrectly on cljsjs as /cljsjs/moment.file
{:foreign-libs [
{:file "cljsjs/development/moment.inc.js"
 :file-min "cljsjs/production/moment.min.inc.js"
 :provides ["moment"]
 :global-exports '{moment moment}]}

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0