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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

create-after-app issue with dependencies conflict #543

Open
moda20 opened this issue Jun 26, 2022 · 0 comments
Open

create-after-app issue with dependencies conflict #543

moda20 opened this issue Jun 26, 2022 · 0 comments

Comments

@moda20
Copy link

moda20 commented Jun 26, 2022

馃悰 Bug report

Current Behavior

can't install dependencies of example project created by creat-after-app

Error log :

code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/webpack
npm ERR! dev webpack@"5.24.0" from the root project
npm ERR! peer webpack@"~4||~5" from [email protected]
npm ERR! node_modules/razzle
npm ERR! dev razzle@"^4.2.6" from the root project
npm ERR! 1 more (html-webpack-plugin)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^4.4.0" from [email protected]
npm ERR! node_modules/mini-css-extract-plugin
npm ERR! dev mini-css-extract-plugin@"0.9.0" from the root project
npm ERR! peer mini-css-extract-plugin@">=0.9.0 <1.0.0" from [email protected]
npm ERR! node_modules/razzle
npm ERR! dev razzle@"^4.2.6" 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!

Expected behavior

npm install by default

Suggested solution(s)

use Webpack 4 on root project since it is used on razzle latest version

Your environment

Software Version(s)
React 16.02
After.js latest
Razzle 4.2.6
Razzle Plugins
TypeScript
Node 18.4.0
Browser
npm/Yarn npm 8.12.1
Operating System macOs 12 M1 pro
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

1 participant