Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Am getting a peer dependancy error while trying to clone and run the project #24

Closed
justinelut opened this issue Apr 21, 2024 · 4 comments

Comments

@justinelut
Copy link

image, check the screenshot above

@mickasmt
Copy link
Owner

Hi @justinelut thank you for your report!
Currently, I am working on upgrading the eslint file to version 9. The new file will be available soon and will address this issue.

@zplzpl
Copy link

zplzpl commented Apr 24, 2024

hello any news?

@mickasmt
Copy link
Owner

Hey @zplzpl @justinelut, I downgraded the eslint package from v9 to v8.57 because it was causing an error during repo cloning at the time of installation.
Additionally, v9 support is still undergoing active maintenance, and I was receiving warnings during my local tests with the new file eslint.config.js.
You can tracking the support update for the v9 here.

@aalhayali
Copy link

Another dependency error came up for some reason.

C:\Users\abdul\Desktop\sandbox\landing-page>npm install
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: saas-starter@0.1.0
npm ERR! Found: react@18.3.0
npm ERR! node_modules/react
npm ERR!   react@"^18.2.0" from the root project
npm ERR!   peer react@"^16.8.0 || ^17 || ^18" from react-hook-form@7.51.3
npm ERR!   node_modules/react-hook-form
npm ERR!     react-hook-form@"^7.51.3" from the root project
npm ERR!     peer react-hook-form@"^7.0.0" from @hookform/resolvers@3.3.4
npm ERR!     node_modules/@hookform/resolvers
npm ERR!       @hookform/resolvers@"^3.3.4" from the root project
npm ERR!   29 more (@radix-ui/react-accessible-icon, react-dom, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! @react-email/button@"0.0.14" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: react@18.2.0
npm ERR! node_modules/react
npm ERR!   peer react@"18.2.0" from @react-email/button@0.0.14
npm ERR!   node_modules/@react-email/button
npm ERR!     @react-email/button@"0.0.14" 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.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\abdul\AppData\Local\npm-cache\_logs\2024-04-26T00_40_35_346Z-eresolve-report.txt

npm ERR! A complete log of this run can be found in: C:\Users\abdul\AppData\Local\npm-cache\_logs\2024-04-26T00_40_35_346Z-debug-0.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants