Projects Wont Build
Projects will not build, no error logs in the build log
Just a fail after approx 9 seconds
Solution:Jump to solution
as the error states, your lockfile is out of sync, delete it then run
npm i --package-lock-only
...10 Replies
Project ID:
d87706eb-1e43-4429-8146-bacd17dd3c66
d87706eb-1e43-4429-8146-bacd17dd3c66
Additionally, i cannot access the billing or usage tabs on the dashboard
I can now access the dashboards and build is getting slightly futher
-----
Dockerfile:20
-------------------
18 | ENV NIXPACKS_PATH /app/node_modules/.bin:$NIXPACKS_PATH
19 | COPY . /app/.
20 | >>> RUN --mount=type=cache,id=s/10a6c3d0-119d-4db1-a208-e4cf29246db2-/root/npm,target=/root/.npm npm ci
21 |
22 | # build phase
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 1
Error: Docker build failed
try again?
==============
Using Nixpacks
==============
context: 75ac47e5dc64a55a38a1be0dcfaaf6bc
╔═════════ Nixpacks v1.9.0 ═════════╗
║ setup │ nodejs-16_x, npm-8_x ║
║───────────────────────────────────║
║ install │ npm ci ║
║───────────────────────────────────║
║ start │ npm run start ║
╚═══════════════════════════════════╝
#1 [internal] load .dockerignore
seems to be stuck here... but still waiting
failed again, with the same error as above
fun fact, thats not actually the error message, thats more of a "there was an error" message.
so could you please provide full build logs
Sure
Solution
as the error states, your lockfile is out of sync, delete it then run
npm i --package-lock-only
that has worked perfectly, just bad timing with the outage too meant i was lazy with the log reading
Thanks for the help @Brody
haha no worries