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

Error while installing dependencies #177

Open
bishwobista opened this issue Jun 16, 2023 · 2 comments
Open

Error while installing dependencies #177

bishwobista opened this issue Jun 16, 2023 · 2 comments

Comments

@bishwobista
Copy link

I cloned the repo and run npm install but got the following error. Is it because I need to update packages?

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: resume-builder@2.0.0
npm ERR! Found: react@18.2.0
npm ERR! node_modules/react
npm ERR! react@"^18.2.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.8.0 || ^17.0.0" from @storybook/builder-webpack5@6.4.21
npm ERR! node_modules/@storybook/builder-webpack5
npm ERR! dev @storybook/builder-webpack5@"^6.4.21" 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

@William-toptal-dev
Copy link

hi, I thikn yarn is more useful than npm.
so I recommend that you have to run "yarn install" command on terminal.

@sadanandpai
Copy link
Owner

node should be on the version 14.17 @bishwobista

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

3 participants