Skip to content

error when upgrading mobx-state-tree to v6 #22

@barbalex

Description

@barbalex

When I upgrade mobx-state-tree from 5.4.2 to 6.0.0 I get this error:

[mobx-state-tree] Failed to find the environment of UndoManager@/history /history
Screenshot 2024-08-30 170615

The error is caused here: https://github.com/barbalex/awel-personal-vite/blob/master/src/store/index.js#L816

The app worked without error before upgrading. And works again fine when downgrading mobx-state-tree to v5.4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions