dependancies installation issue

#15 [stage-0 9/15] COPY . /app/.

#15 DONE 0.3s

#16 [stage-0 10/15] RUN --mount=type=cache,id=s/e4b8b7f6-6175-4ae2-af87-8f4167ca1a0a-/root/npm,target=/root/.npm npm i

#16 0.736 npm

WARN config production Use --omit=dev instead.

#16 15.15 npm ERR!

code ERESOLVE

#16 15.15 npm ERR! ERESOLVE unable to resolve dependency tree

#16 15.15 npm ERR!

#16 15.15 npm ERR! While resolving: Defi-OS@1.0.0

#16 15.15 npm ERR! Found: viem@2.9.16

#16 15.15 npm ERR! node_modules/viem

#16 15.15 npm ERR! viem@"^2.9.16" from the root project

#16 15.15 npm ERR!

#16 15.15 npm ERR! Could not resolve dependency:

#16 15.15 npm ERR! peer viem@"^1.3.0" from @pushprotocol/uiweb@1.2.7

#16 15.15 npm ERR! node_modules/@pushprotocol/uiweb

#16 15.15 npm ERR! @pushprotocol/uiweb@"^1.2.7" from the root project

#16 15.15 npm ERR!

#16 15.15 npm ERR! Fix the upstream dependency conflict, or retry

#16 15.15 npm ERR! this command with --force or --legacy-peer-deps

#16 15.15 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

#16 15.15 npm ERR!

#16 15.15 npm ERR!

#16 15.15 npm ERR! For a full report see:

#16 15.15 npm ERR! /root/.npm/_logs/2024-04-11T20_27_58_796Z-eresolve-report.txt

#16 15.15

#16 15.15 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-04-11T20_27_58_796Z-debug-0.log

#16 ERROR: process "/bin/bash -ol pipefail -c npm i" did not complete successfully: exit code: 1


[stage-0 10/15] RUN --mount=type=cache,id=s/e4b8b7f6-6175-4ae2-af87-8f4167ca1a0a-/root/npm,target=/root/.npm npm i:

15.15 npm ERR!

15.15 npm ERR! Fix the upstream dependency conflict, or retry

15.15 npm ERR! this command with --force or --legacy-peer-deps

15.15 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

15.15 npm ERR!

15.15 npm ERR!

15.15 npm ERR! For a full report see:

15.15 npm ERR! /root/.npm/_logs/2024-04-11T20_27_58_796Z-eresolve-report.txt

15.15

15.15 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-04-11T20_27_58_796Z-debug-0.log


Dockerfile:26


24 | ENV NIXPACKS_PATH /app/node_modules/.bin:$NIXPACKS_PATH

25 | COPY . /app/.

26 | >>> RUN --mount=type=cache,id=s/e4b8b7f6-6175-4ae2-af87-8f4167ca1a0a-/root/npm,target=/root/.npm npm i

27 |

28 | # build phase


ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm i" did not complete successfully: exit code: 1

Error: Docker build failed

View Deploy details

ⓘ Deployment information is only viewable by Project members and Railway admins.

1 Replies

2 years ago

Copied from your build logs -

Fix the upstream dependency conflict

Welcome!

Sign in to your Railway account to join the conversation.

Loading...