djizco / mern-boilerplate

A Full MERN Stack Boilerplate for Web Apps including a local authentication system. Uses React, Express.js, MongoDB, Redux, Passport.js, Webpack, Testing, and more.
MIT License
266 stars 94 forks source link

Dependency issue - nom install #7

Closed zahidmak closed 3 years ago

zahidmak commented 3 years ago

npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: mern-boilerplate@0.6.0
npm ERR! Found: react@16.14.0
npm ERR! node_modules/react
npm ERR!   react@"^16.14.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^17.0.1" from react-notifications-component@3.1.0
npm ERR! node_modules/react-notifications-component
npm ERR!   react-notifications-component@"^3.1.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.```

Dependency issue while running rpm install. 
djizco commented 3 years ago

react-notifications-component made react@17.0.1 a peer dependency in its latest release (3.1.0). I think it should still work fine, but I've downgraded it to 3.0.5 until I update everything to React 17.