Lukoolios
Lukoolios
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
thank you!
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
ah that was from the railway.toml file. was added that due to a past helpdesk question. I removed it and it looks like it built successfully
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
No description
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
sorry what does that refence?
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
> [stage-0 8/10] RUN --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-next/cache,target=/app/.next/cache --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-node_modules/cache,target=/app/node_modules/.cache npm run build:

WARN config production Use `--omit=dev` instead.

0.689

0.689 > [email protected] build

0.689 > next build

0.689

0.768 You are using Node.js 16.18.1. For Next.js, Node.js version >= v18.17.0 is required.

-----



Dockerfile:24

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

22 | # build phase

23 | COPY . /app/.

24 | >>> RUN --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-next/cache,target=/app/.next/cache --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-node_modules/cache,target=/app/node_modules/.cache npm run build

25 |

26 |

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

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



Error: Docker build failed
> [stage-0 8/10] RUN --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-next/cache,target=/app/.next/cache --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-node_modules/cache,target=/app/node_modules/.cache npm run build:

WARN config production Use `--omit=dev` instead.

0.689

0.689 > [email protected] build

0.689 > next build

0.689

0.768 You are using Node.js 16.18.1. For Next.js, Node.js version >= v18.17.0 is required.

-----



Dockerfile:24

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

22 | # build phase

23 | COPY . /app/.

24 | >>> RUN --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-next/cache,target=/app/.next/cache --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-node_modules/cache,target=/app/node_modules/.cache npm run build

25 |

26 |

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

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



Error: Docker build failed
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
No description
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
seems that the latest version is 21? at least when I installed node locally anyway
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
iv'e tried other major versions and they all revert back to version 16, is this going to be a stopper?
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
18.12.1
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
setting it to 18 still has the version compatibility conflict
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
1.613 You are using Node.js 18.12.1. For Next.js, Node.js version >= v18.17.0 is required.
1.613 You are using Node.js 18.12.1. For Next.js, Node.js version >= v18.17.0 is required.
should I specify the 18.17.0 version?
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
That seemed to get it past that issue though now I am running into a nope version compatability, Next.js requires at least version >= 18 and looks like 16.18.1 is whats avaialble?
#12 0.757 > next build

#12 0.757

#12 0.847 You are using Node.js 16.18.1. For Next.js, Node.js version >= v18.17.0 is required.



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

-----

> [stage-0 8/10] RUN --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-next/cache,target=/app/.next/cache --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-node_modules/cache,target=/app/node_modules/.cache npm run build:

0.743 npm WARN config production Use `--omit=dev` instead.

0.757

0.757 > [email protected] build

0.757 > next build

0.757

0.847 You are using Node.js 16.18.1. For Next.js, Node.js version >= v18.17.0 is required.

-----



Dockerfile:24

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

22 | # build phase

23 | COPY . /app/.

24 | >>> RUN --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-next/cache,target=/app/.next/cache --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-node_modules/cache,target=/app/node_modules/.cache npm run build

25 |

26 |

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

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



Error: Docker build failed
#12 0.757 > next build

#12 0.757

#12 0.847 You are using Node.js 16.18.1. For Next.js, Node.js version >= v18.17.0 is required.



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

-----

> [stage-0 8/10] RUN --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-next/cache,target=/app/.next/cache --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-node_modules/cache,target=/app/node_modules/.cache npm run build:

0.743 npm WARN config production Use `--omit=dev` instead.

0.757

0.757 > [email protected] build

0.757 > next build

0.757

0.847 You are using Node.js 16.18.1. For Next.js, Node.js version >= v18.17.0 is required.

-----



Dockerfile:24

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

22 | # build phase

23 | COPY . /app/.

24 | >>> RUN --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-next/cache,target=/app/.next/cache --mount=type=cache,id=s/c9969c3c-7588-4025-8b46-207ea0e007f3-node_modules/cache,target=/app/node_modules/.cache npm run build

25 |

26 |

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

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



Error: Docker build failed
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
correct
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
No description
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
and I checked for added spaces before and after
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
negative
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
yea caught that sorry haha
37 replies
RRailway
Created by Lukoolios on 12/20/2023 in #✋|help
Docker build failed Next.js
Looks like discord auto corrected the error and turned it into an unamused emoji. I believe it is supposed to be ENV=$ but there is an added space before the assignment operator
37 replies
RRailway
Created by Lukoolios on 6/4/2023 in #✋|help
React front end MongoDB Cannot connect
yea its working 👍
61 replies
RRailway
Created by Lukoolios on 6/4/2023 in #✋|help
React front end MongoDB Cannot connect
Oh never mind, just needed a little more time processing, thank you for the help, much appreciated
61 replies