@divriots/jampack depend quicklink which has peer dependency react@^16.8.0;
while @astrojs/react depend react@16.14.0.
Because of this error, my npm ci command is failed for my fly launch.
Our quicklink version is the latest version, we should upgrade its react and react dom version to handle this issue.
=> ERROR [build 3/6] RUN npm ci --include=dev 73.3s
[build 3/6] RUN npm ci --include=dev:
1.399 npm WARN ERESOLVE overriding peer dependency
1.400 npm WARN While resolving: quicklink@2.3.0
1.400 npm WARN Found: react@18.3.1
1.400 npm WARN node_modules/react
1.400 npm WARN dev react@"^18.2.0" from the root project
1.400 npm WARN 2 more (@astrojs/react, react-dom)
1.400 npm WARN
1.400 npm WARN Could not resolve dependency:
1.400 npm WARN peer react@"^16.8.0" from quicklink@2.3.0
1.400 npm WARN node_modules/quicklink
1.400 npm WARN quicklink@"^2.3.0" from @divriots/jampack@0.23.4
1.400 npm WARN node_modules/@divriots/jampack
1.400 npm WARN
1.400 npm WARN Conflicting peer dependency: react@16.14.0
1.400 npm WARN node_modules/react
1.400 npm WARN peer react@"^16.8.0" from quicklink@2.3.0
1.400 npm WARN node_modules/quicklink
1.400 npm WARN quicklink@"^2.3.0" from @divriots/jampack@0.23.4
1.400 npm WARN node_modules/@divriots/jampack
1.402 npm WARN ERESOLVE overriding peer dependency
1.402 npm WARN While resolving: quicklink@2.3.0
1.402 npm WARN Found: react-dom@18.3.1
1.402 npm WARN node_modules/react-dom
1.402 npm WARN dev react-dom@"^18.2.0" from the root project
1.402 npm WARN 1 more (@astrojs/react)
1.402 npm WARN
1.402 npm WARN Could not resolve dependency:
1.402 npm WARN peer react-dom@"^16.8.0" from quicklink@2.3.0
1.402 npm WARN node_modules/quicklink
1.402 npm WARN quicklink@"^2.3.0" from @divriots/jampack@0.23.4
1.402 npm WARN node_modules/@divriots/jampack
1.402 npm WARN
1.402 npm WARN Conflicting peer dependency: react-dom@16.14.0
1.402 npm WARN node_modules/react-dom
1.402 npm WARN peer react-dom@"^16.8.0" from quicklink@2.3.0
1.402 npm WARN node_modules/quicklink
1.402 npm WARN quicklink@"^2.3.0" from @divriots/jampack@0.23.4
1.402 npm WARN node_modules/@divriots/jampack
73.27 npm ERR! Exit handler never called!
73.27
73.27 npm ERR! This is an error with npm itself. Please report this error at:
73.27 npm ERR! https://github.com/npm/cli/issues
73.27
73.27 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-05-25T13_34_08_343Z-debug-0.log
Error: failed to fetch an image or build from source: error building: failed to solve: process "/bin/sh -c npm ci --include=dev" did not complete successfully: exit code: 1
@divriots/jampack depend quicklink which has peer dependency react@^16.8.0; while @astrojs/react depend react@16.14.0. Because of this error, my npm ci command is failed for my fly launch. Our quicklink version is the latest version, we should upgrade its react and react dom version to handle this issue.
=> ERROR [build 3/6] RUN npm ci --include=dev 73.3s