Open pakettiale opened 2 years ago
After cloning current repo and running taito develop
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: gatsby-starter-default@1.0.0 #0 28.46 npm ERR! Found: styled-components@5.3.5 #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 unstyled@0.2.2 #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
Removing the unstyled dependency causes the build to crash due to some C++ compilation error?
After cloning current repo and running
taito develop