Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

"export 'extras' was not found in 'mobx' #449

Closed
simspace-dr opened this issue Apr 3, 2018 · 5 comments
Closed

"export 'extras' was not found in 'mobx' #449

simspace-dr opened this issue Apr 3, 2018 · 5 comments

Comments

@simspace-dr
Copy link

simspace-dr commented Apr 3, 2018

I am using yarn and trying to upgrade mobx to v4.1.1 and mobx-react to v4.4.3.

Yarn is giving me this warning:
warning " > mobx-react@4.4.3" has incorrect peer dependency "mobx@^2.6.3 || ^3.0.0".

I ran yarn remove mobx mobx-react and when that was completed, I deleted the yarn.lock file and confirmed mobx and mobx-react were no longer in ./node_module.

Then I added the new versions to my package.json ...

    "mobx": "^4.1.1",
    "mobx-react": "^4.4.3",

But when I run yarn again, I have the same problem, and when I look at ./node_module/mobx-react/package.json I find this ...

  "peerDependencies": {
    "mobx": "^2.6.3 || ^3.0.0",
    "react": "^0.13.0 || ^0.14.0 || ^15.0.0 || ^16.0.0"
  },

Any suggestions how I can solve this problem, so I can get to the latest mobx and mobx-react versions?
Thanks!
Chris

@mweststrate
Copy link
Member

mweststrate commented Apr 4, 2018 via email

@simspace-dr
Copy link
Author

I didn't realize there was a version 5. When I go to mobx-react on Github, the last version I see is 4.4.3 in the change log.

I'll change my package.json and give that a try.

Is version 5 a beta or final release?

@mweststrate
Copy link
Member

final, will update the changelog, I think that was an oversight

@moonlitusun
Copy link

mobx-react 5 is not support some brower,what can i fixed #449

@mweststrate
Copy link
Member

@moonlitusun please open new issues for new issues. Is your problem same as #608 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants