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

www service cannot be installed due to conflicting styled-components depency #131

Open
pakettiale opened this issue May 4, 2022 · 1 comment

Comments

@pakettiale
Copy link
Collaborator

pakettiale commented May 4, 2022

After cloning current repo and running taito develop

 => ERROR [full-stack-template_full-stack-template-www 9/9] RUN npm run install-site              29.1s
------
 > [full-stack-template_full-stack-template-www 9/9] RUN npm run install-site:
#0 1.130 
#0 1.130 > install-site
#0 1.130 > if [ -f ./site/package-lock.json ]; then cd site && mkdir -p node_modules && npm ci; elif [ -f ./site/package.json ]; then cd site && mkdir -p node_modules && npm install; fi
#0 1.130 
#0 28.46 npm ERR! code ERESOLVE
#0 28.46 npm ERR! ERESOLVE unable to resolve dependency tree
#0 28.46 npm ERR! 
#0 28.46 npm ERR! While resolving: [email protected]
#0 28.46 npm ERR! Found: [email protected]
#0 28.46 npm ERR! node_modules/styled-components
#0 28.46 npm ERR!   styled-components@"^5.2.1" from the root project
#0 28.46 npm ERR! 
#0 28.46 npm ERR! Could not resolve dependency:
#0 28.46 npm ERR! peer styled-components@"^4.0.0-beta.3" from [email protected]
#0 28.46 npm ERR! node_modules/unstyled
#0 28.46 npm ERR!   unstyled@"^0.2.2" from the root project
#0 28.46 npm ERR! 
#0 28.46 npm ERR! Fix the upstream dependency conflict, or retry
#0 28.46 npm ERR! this command with --force, or --legacy-peer-deps
#0 28.46 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
#0 28.46 npm ERR! 
#0 28.46 npm ERR! See /home/node/.npm/eresolve-report.txt for a full report.
#0 28.46 
#0 28.46 npm ERR! A complete log of this run can be found in:
#0 28.46 npm ERR!     /home/node/.npm/_logs/2022-05-04T09_28_10_520Z-debug-0.log
------
failed to solve: executor failed running [/bin/sh -c npm run install-site]: exit code: 1
@pakettiale
Copy link
Collaborator Author

Removing the unstyled dependency causes the build to crash due to some C++ compilation error?

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