common: React Native: Invariant Violation with util-crypto
Hey there, here I am with a RN question 😃
When upgrading @polkadot/util-crypto
from v5.9.2 to v6.0.2
I run into the following:
Invariant Violation: expected hoisted manifest for "@polkadot/reactnative-identicon#@polkadot/util-crypto#@polkadot/wasm-crypto"
at invariant (/home/thib/.nvm/versions/node/v14.15.4/lib/node_modules/yarn/lib/cli.js:2314:15)
at _loop2 (/home/thib/.nvm/versions/node/v14.15.4/lib/node_modules/yarn/lib/cli.js:94526:9)
at PackageHoister.init (/home/thib/.nvm/versions/node/v14.15.4/lib/node_modules/yarn/lib/cli.js:94596:19)
at PackageLinker.getFlatHoistedTree (/home/thib/.nvm/versions/node/v14.15.4/lib/node_modules/yarn/lib/cli.js:48744:20)
at PackageLinker.<anonymous> (/home/thib/.nvm/versions/node/v14.15.4/lib/node_modules/yarn/lib/cli.js:48755:27)
at Generator.next (<anonymous>)
at step (/home/thib/.nvm/versions/node/v14.15.4/lib/node_modules/yarn/lib/cli.js:310:30)
at /home/thib/.nvm/versions/node/v14.15.4/lib/node_modules/yarn/lib/cli.js:328:14
at new Promise (<anonymous>)
at new F (/home/thib/.nvm/versions/node/v14.15.4/lib/node_modules/yarn/lib/cli.js:5301:28)
All my other @polkadot package are running the latest version (non beta). Any hint?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (15 by maintainers)
Thanks for the followup, indeed with the following and a fresh
yarn.lock
it works well, without the custom resolver: