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

Fix production deployment failure due to dependency conflicts #48

Closed
arjxn-py opened this issue Oct 7, 2023 · 0 comments · Fixed by #58
Closed

Fix production deployment failure due to dependency conflicts #48

arjxn-py opened this issue Oct 7, 2023 · 0 comments · Fixed by #58
Assignees
Labels
bug Something isn't working dependencies Pull requests that update a dependency file

Comments

@arjxn-py
Copy link
Member

arjxn-py commented Oct 7, 2023

Currently the build is failing with -

Build Logs
npm ERR! code ERESOLVE
--
23:16:27.693 | npm ERR! ERESOLVE could not resolve
23:16:27.693 | npm ERR!
23:16:27.693 | npm ERR! While resolving: react-scripts@5.0.1
23:16:27.693 | npm ERR! Found: typescript@5.2.2
23:16:27.693 | npm ERR! node_modules/typescript
23:16:27.693 | npm ERR!   typescript@"^5.2.2" from the root project
23:16:27.693 | npm ERR!   peer typescript@">= 2.7" from fork-ts-checker-webpack-plugin@6.5.3
23:16:27.694 | npm ERR!   node_modules/fork-ts-checker-webpack-plugin
23:16:27.694 | npm ERR!     fork-ts-checker-webpack-plugin@"^6.5.0" from react-dev-utils@12.0.1
23:16:27.694 | npm ERR!     node_modules/react-dev-utils
23:16:27.694 | npm ERR!       react-dev-utils@"^12.0.1" from react-scripts@5.0.1
23:16:27.694 | npm ERR!       node_modules/react-scripts
23:16:27.694 | npm ERR!         react-scripts@"5.0.1" from the root project
23:16:27.694 | npm ERR!   1 more (tsutils)
23:16:27.694 | npm ERR!
23:16:27.694 | npm ERR! Could not resolve dependency:
23:16:27.694 | npm ERR! peerOptional typescript@"^3.2.1 \|\| ^4" from react-scripts@5.0.1
23:16:27.694 | npm ERR! node_modules/react-scripts
23:16:27.694 | npm ERR!   react-scripts@"5.0.1" from the root project
23:16:27.694 | npm ERR!
23:16:27.695 | npm ERR! Conflicting peer dependency: typescript@4.9.5
23:16:27.695 | npm ERR! node_modules/typescript
23:16:27.695 | npm ERR!   peerOptional typescript@"^3.2.1 \|\| ^4" from react-scripts@5.0.1
23:16:27.695 | npm ERR!   node_modules/react-scripts
23:16:27.695 | npm ERR!     react-scripts@"5.0.1" from the root project
23:16:27.695 | npm ERR!
23:16:27.695 | npm ERR! Fix the upstream dependency conflict, or retry
23:16:27.695 | npm ERR! this command with --force or --legacy-peer-deps
23:16:27.695 | npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
23:16:27.695 | npm ERR!
23:16:27.695 | npm ERR!
23:16:27.695 | npm ERR! For a full report see:
23:16:27.695 | npm ERR! /vercel/.npm/_logs/2023-10-11T17_46_25_264Z-eresolve-report.txt
23:16:27.696 |  
23:16:27.696 | npm ERR! A complete log of this run can be found in: /vercel/.npm/_logs/2023-10-11T17_46_25_264Z-debug-0.log
23:16:27.710 | Error: Command "npm install" exited with 1

i.e. Has conflicts between [email protected] & [email protected]

@arjxn-py arjxn-py added bug Something isn't working dependencies Pull requests that update a dependency file labels Oct 11, 2023
@arjxn-py arjxn-py self-assigned this Oct 12, 2023
@arjxn-py arjxn-py linked a pull request Oct 12, 2023 that will close this issue
arjxn-py added a commit that referenced this issue Oct 12, 2023
#48 Fix dependency conflicts for successful deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant