marcinb1986
marcinb1986

Reputation: 902

Issue with mobX package, package is installed but cannot be resolved

In my lately created react project I want to use mobX. I have installed mobX packages

"mobx-react": "^9.0.1",
"mobx-react-lite": "^4.0.5",

This is part of the errors I'm getting enter image description here

But You can see here that package exist

enter image description here

Can You please suggest how to fix this error ? I have deleted few times node_modules and installed it again, but nothing helped

Upvotes: 1

Views: 226

Answers (1)

Aminarune
Aminarune

Reputation: 630

You need to install package mobx first, according to the wiki page then you either choose to use mobx-react or a lighter version of it which is mobx-react-lite

Upvotes: 1

Related Questions