startup-nextjs
                                
                                
                                
                                    startup-nextjs copied to clipboard
                            
                            
                            
                        npm install not working
I get an Error when i want to install the packages with npm install:
npm install
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/react
npm error   react@"19.0.0" from the root project
npm error   peer react@"^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0" from [email protected]
npm error   node_modules/next
npm error     next@"15.1.6" from the root project
npm error     peer next@"*" from [email protected]
npm error     node_modules/next-themes
npm error       next-themes@"^0.2.1" from the root project
npm error   4 more (next-themes, react-dom, react-transition-group, styled-jsx)
npm error
npm error Could not resolve dependency:
npm error peer react@"^17.0.0 || ^18.2.0" from [email protected]
npm error node_modules/react-modal-video
npm error   react-modal-video@"^2.0.1" from the root project
npm error
npm error Conflicting peer dependency: [email protected]
npm error node_modules/react
npm error   peer react@"^17.0.0 || ^18.2.0" from [email protected]
npm error   node_modules/react-modal-video
npm error     react-modal-video@"^2.0.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/joshuaclassen/.npm/_logs/2025-01-31T12_42_36_606Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/joshuaclassen/.npm/_logs/2025-01-31T12_42_36_606Z-debug-0.log