Open mulkrajsingh opened 3 years ago
Try to delete node-module and install them again.
Looks like you have npm v7 and it can block installation when peer dependencies are not resolved properly. Maybe you have react 17 in project but here we have 16.* in react-diagrams
and that's the cause. Until library doesn't support react v17 (PR is up #755) in peers you can use npm i --legacy-peer-deps
.
It should be closed, because React 17 support in master
Could not resolve dependency: npm WARN peer react@"16.*" from @projectstorm/react-diagrams-defaults@6.3.0 npm WARN node_modules/@projectstorm/react-diagrams-defaults npm WARN @projectstorm/react-diagrams-defaults@"^6.0.1-beta.7" from @projectstorm/react-diagrams@6.0.1-beta.7 npm WARN node_modules/@projectstorm/react-diagrams npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree