Skip to content
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

clsjsjs require compiled to absolute path #180

Open
sinistral opened this issue Oct 22, 2017 · 2 comments
Open

clsjsjs require compiled to absolute path #180

sinistral opened this issue Oct 22, 2017 · 2 comments

Comments

@sinistral
Copy link

I've run into a problem using CLJSJS packages in a Node.js target that I think is a boot-cljs issue: the require [cljsjs.foo] gets compiled to a cljs.core.load_file call with an absolute path, rather than a goog.require, so it can't be run outside of my development setup. It's entirely possible that I'm doing something dumb, and if so a pointer would be appreciated, with my apologies.

I don't see the same behaviour with lein-cljs, but I can't actually get that running due to other compilation issues. I have a repro case if that would be helpful.

@burn2delete
Copy link
Contributor

burn2delete commented Jul 21, 2018

I am running into this as well, moving the target folder out of our development container and running it in production will throw an error as none of the boot temp directories exist.

@burn2delete
Copy link
Contributor

Looks like this is caused by foreign-libs being resolved to an absolute path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants