i want to send the full error
haikal
HOBBYOP

4 months ago

You reached the start of the range

Nov 22, 2025, 3:51 PM

[Region: us-west1]

=========================

Using Detected Dockerfile

=========================

context: jwm5-qLLP

internal

load build definition from Dockerfile

0ms

internal

load metadata for docker.io/library/node:14.21.2-alpine

682ms

internal

load .dockerignore

0ms

1

FROM docker.io/library/node:14.21.2-alpine@sha256:e389e6411b9951c74289fd51834f59b2b45655ba7aecd3df96e62d1741f4f902

11ms

internal

load build context

0ms

2

WORKDIR /app

238ms

3

RUN npm run build

437ms

npm

ERR! code ENOENT

npm

ERR!

syscall

open

npm ERR! path

/app/package.json

npm ERR! errno -2

npm ERR!

enoent ENOENT: no such file or directory, open '/app/package.json'

npm

ERR!

enoent

This is related to npm not being able to find a file.

npm ERR!

enoent

npm ERR!

A complete log of this run can be found in:

npm

ERR!

/root/.npm/_logs/2025-11-22T12_52_02_748Z-debug.log

Dockerfile:7

-------------------

5 | WORKDIR /app

6 |

7 | >>> RUN npm run build

8 | RUN npm install -g @angular/cli@13

9 |

-------------------

ERROR: failed to build: failed to solve: process "/bin/sh -c npm run build" did not complete successfully: exit code: 254

Closed

1 Replies

Railway
BOT

4 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


Status changed to Closed brody 4 months ago


Loading...