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

Cannot install project dependencies #50

Closed
trozler opened this issue Nov 13, 2020 · 2 comments
Closed

Cannot install project dependencies #50

trozler opened this issue Nov 13, 2020 · 2 comments

Comments

@trozler
Copy link

trozler commented Nov 13, 2020

Describe the bug
When running npm install I receive the following error message.

To Reproduce

$ git clone https://github.com/satendra02/react-chrome-extension.git
Cloning into 'react-chrome-extension'...
remote: Enumerating objects: 31, done.
remote: Counting objects: 100% (31/31), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 203 (delta 11), reused 16 (delta 6), pack-reused 172
Receiving objects: 100% (203/203), 763.39 KiB | 1.23 MiB/s, done.
Resolving deltas: 100% (90/90), done.
$ cd react-chrome-extension/
$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: my-extension@0.1.0
npm ERR! Found: @typescript-eslint/eslint-plugin@3.6.0
npm ERR! node_modules/@typescript-eslint/eslint-plugin
npm ERR!   dev @typescript-eslint/eslint-plugin@"^3.6.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @typescript-eslint/eslint-plugin@"2.x" from eslint-config-react-app@5.2.1
npm ERR! node_modules/eslint-config-react-app
npm ERR!   dev eslint-config-react-app@"^5.2.1" 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! See /Users/<myname>/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/<myname>/.npm/_logs/2020-11-13T00_56_34_520Z-debug.log
@satendra02
Copy link
Owner

satendra02 commented Dec 22, 2020

Hey @trozler

I know I am late. I believe you have already figured out the solution. Let me know if you still need any help here.

@trozler
Copy link
Author

trozler commented Dec 24, 2020

Hi @satendra02, no worries I found a workaround reading the article. Feel free to close the issue. I only opened it in case your intention was for the repo to act as a template.

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

2 participants