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

Invariant Violation when working on multiple projects #16

Open
olivergeorge opened this issue Oct 21, 2015 · 1 comment
Open

Invariant Violation when working on multiple projects #16

olivergeorge opened this issue Oct 21, 2015 · 1 comment

Comments

@olivergeorge
Copy link

(I've been doing little "spike" projects to get the feel of different features and components. There's a gotcha when you do this. I'm noting here in case it helps someone else.)

I expect to be able to switch between two natal based projects by stopping the Simulator, switching to different directory and running "natal launch && natal repl" but this leads to an "Invariant Violation: Application XX has not been registered" when opening second project.

The solution seems to be to close the React Packager terminal window.

This might well not be a natal issue but perhaps it is possible to ensure projects don't overlap from React Packager's perspective.

(love your work)

@dmotz
Copy link
Owner

dmotz commented Oct 22, 2015

Yeah there's a brief mention in the readme that running multiple instances at once will cause issues with the packager.

The plan is to have Natal control the React packager directly so that when Natal quits, the packager it started will quit with it and you'll avoid the invariant violation you're seeing.

Stay tuned.

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