-
Notifications
You must be signed in to change notification settings - Fork 98
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
:foreign-libs use leads to goog.nodeGlobalRequire issue #201
Comments
thanks @mfikes for reporting it, let me post a screenshot to subscribe to that issue: |
Bumped to the same issue. The To what extent do we need the |
Yeah, it seems that, while In this particular case it causes the compiler to take the wrong branch here. You can see that if the compiler took the other branch, things would work by, for the foreign lib described in this issue's description, doing this
|
If you use
:foreign-libs
you will encounter an issue withgoog.nodeGlobalRequire is not a function
that is evidently related to:target :nodejs
introduced with 0.9.0.Repro:
src/aaa.js
:Add to your compiler options:
Bring up the app and a REPL with
lein figwheel ios
and then repro withThis goes away if you comment the
:target :nodejs
from the compiler options.The text was updated successfully, but these errors were encountered: