Comments (10)
Thanks, and it's fine now.
from mobx-sync.
Checked. Problem still exist.
from mobx-sync.
from mobx-sync.
Please post the following information:
- the versions of
mobx-sync
, you can get it by runnpm ls mobx-sync
- the personal dependencies of
mobx-sync
, you can get it by runls -lh ./node_modules/mobx-sync/node_modules
Thank you.
from mobx-sync.
Installed with yarn add mobx-sync
(i had v1.3.2, latest v1.9.4)
ᐅ npm ls mobx-sync
[email protected] /Users/suenot/work2/terminal/react-client
└── UNMET DEPENDENCY mobx-sync@^0.8.4
npm ERR! missing: mobx-sync@^0.8.4, required by [email protected]
ᐅ ls -lh ./node_modules/mobx-sync/node_modules
total 0
drwxr-xr-x 7 suenot staff 238B Sep 7 08:59 mobx
and in this case I had error in browser console:
Uncaught Error: [mobx] There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`
at invariant$$1 (mobx.module.js:98)
at fail$$1 (mobx.module.js:93)
at mobx.module.js:1295
but
Installed with npm --save mobx-sync
ᐅ npm ls mobx-sync
[email protected] /Users/suenot/work2/terminal/react-client
└── [email protected]
ᐅ ls -lh ./node_modules/mobx-sync/node_modules
ls: ./node_modules/mobx-sync/node_modules: No such file or directory
and in this case I had not got erro in browser console.
from mobx-sync.
with new yarn
problem has been exist :(
from mobx-sync.
Maybe it is not caused by mobx-sync
, please run this code and post the output:
rm -rf node_modules
yarn
npm ls mobx
from mobx-sync.
rm -rf node_modules
rm -f package-lock.json
After remove modules, error in terminal had been fixed.
ᐅ yarn
yarn install v1.9.4
warning ../../../package.json: No license field
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning " > [email protected]" has unmet peer dependency "prop-types@^15.5.7".
warning " > [email protected]" has unmet peer dependency "prop-types@^15.5.4".
[4/4] 📃 Building fresh packages...
✨ Done in 167.97s.
ᐅ npm ls mobx
[email protected] /Users/suenot/work2/terminal/react-client
├── [email protected]
└─┬ [email protected]
└── [email protected]
But in browser console:
mobx.module.js:98 Uncaught Error: [mobx] There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`
at invariant$$1 (mobx.module.js:98)
at fail$$1 (mobx.module.js:93)
at mobx.module.js:1295
Problem only with yarn, with npm plugin works perfect.
from mobx-sync.
you may need to remove your yarn.lock
file by run rm yarn.lock
, and then run yarn
again.
The dependency is '*' in may package.json
from mobx-sync.
Thank you! Problem was in yarn.lock
.
from mobx-sync.
Related Issues (20)
- no releases?
- api reference links broken HOT 1
- tons of import errors HOT 6
- mjs modules aren't compatible with react-create-app HOT 4
- Any way to handle persistence exceptions? HOT 2
- Failed to compile. Can't import the named export '__awaiter' from non EcmaScript module HOT 1
- Handling actions on classes. HOT 2
- Not working for arrays HOT 9
- Question: Which version control should I use? HOT 1
- ReactJs TypeScript - AsyncTrunk is not a constructor HOT 2
- Spelling Issue In Your Medium Article HOT 1
- Incredibly slow refresh times
- Computed property not working after hydration HOT 2
- Inverted behaviour HOT 3
- Can't get @ignore to work HOT 4
- Persist Multiple Stores?
- Example of how to use without decorators? HOT 1
- How the fallback works? And errors question HOT 4
- Using formatters with TS interface
- Project maintenance HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobx-sync.