mobxjs / mobx-angular

The MobX connector for Angular.
MIT License
483 stars 59 forks source link

multiple mobx instances active #37

Closed vporoshok closed 7 years ago

vporoshok commented 7 years ago

After update to 1.6.0 we got error on tests:

WARN: '[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082WARN: '[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082
 for details.'

And test failed on autorun waiting. It's because npm install mobx twice: in project and inside mobx-angular selection_005 After manual deleting mobx from mobx-angular everything work fine.

adamkleingit commented 7 years ago

True, it's a bug in 1.6.0. MobX should be peerDependency. Will fix soon in 1.7.0

adamkleingit commented 7 years ago

Hi was released in 1.7.0 - can you verify?