Projects Wont Build

Projects will not build, no error logs in the build log Just a fail after approx 9 seconds
Solution:
as the error states, your lockfile is out of sync, delete it then run npm i --package-lock-only...
Jump to solution
10 Replies
Percy
Percy2y ago
Project ID: d87706eb-1e43-4429-8146-bacd17dd3c66
tris203
tris203OP2y ago
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
Brody
Brody2y ago
try again?
tris203
tris203OP2y ago
============== 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
Brody
Brody2y ago
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
tris203
tris203OP2y ago
Sure
Solution
Brody
Brody2y ago
as the error states, your lockfile is out of sync, delete it then run npm i --package-lock-only
tris203
tris203OP2y ago
that has worked perfectly, just bad timing with the outage too meant i was lazy with the log reading Thanks for the help @Brody
Brody
Brody2y ago
haha no worries
Want results from more Discord servers?
Add your server