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

Requiring goog breaks reloading with Namespace already declared #227

Open
mfikes opened this issue Sep 3, 2019 · 0 comments
Open

Requiring goog breaks reloading with Namespace already declared #227

mfikes opened this issue Sep 3, 2019 · 0 comments

Comments

@mfikes
Copy link

mfikes commented Sep 3, 2019

If you require goog, reloading will break with an error indicating

Namespace "my_app.ios.core" already loaded

error message.

Repro:

Set up fresh project using re-natal init FutureApp and go through the steps, establishing an iOS REPL. Then modify the ns form in the source for the future-app.ios.core namespace to add goog to the list of libraries in the :require section. Save the file and then observe red screen with:

Namespace "future_app.ios.core" already declared.

eval
    [native code]:0
<unknown>
    figwheel-bridge.js:116:25
tryCallOne
    core.js:37:14
<unknown>
    core.js:123:25
_callTimer
    JSTimers.js:152:14
_callImmediatesPass
    JSTimers.js:200:17
callImmediates
    JSTimers.js:473:30
callImmediates
    [native code]:0
__callImmediates
    MessageQueue.js:337:6
<unknown>
    MessageQueue.js:135:6
__guard
    MessageQueue.js:314:10
flushedQueue
    MessageQueue.js:134:17
flushedQueue
    [native code]:0
invokeCallbackAndReturnFlushedQueue
    [native code]:0

This is also reproducible with Android.

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

1 participant