plate
plate copied to clipboard
npm could not resolve dependency when installing slate-plugins 1.0.0-alpha.*
Description
Dependencies problems when installing new version of slate-plugins (^1.0.0-alpha.*):
Could not resolve dependency:
peer react@">=16.8.0 <17.0.0" from @uifabric/[email protected]
Steps
To reproduce the behavior: on new project
- npm i slate slate-react slate-history slate-hyperscript react react-dom
- npm i @udecode/slate-plugins
- error: npm ERR! ERESOLVE unable to resolve dependency tree
Environment
"react": "^17.0.2",
"react-dom": "^17.0.2",
"slate": "^0.62.1",
"slate-history": "^0.62.0",
"slate-hyperscript": "^0.62.0",
"slate-react": "^0.62.1"
attempting to install slate-plugins
Is it happening also in sandbox? I'll upgrade @uifabric dependencies
the sandbox works correctly at https://codesandbox.io/s/slate-plugins-playground-v1-2mh1c But when I download the code in zip, npm install gives me the same error. maybe because of the npm version ? I am using 7.11.2
I'm using yarn
it works with yarn 🤨
I think just because it works with yarn, it does not stop being a bug / issue for npm users..
Is it fixed?