WaspW
Wasp14mo ago
wardbox

wasp deploy fly deploy failure

Wasp version: 0.15.0
Platform: MacOS

I am using the wasp ts. Locally everything builds fine. I've tried doing
wasp clean
and wasp ts-setup again with no luck.
_stderr: '==> Verifying app config\n' +
    '--> Verified app config\n' +
    '==> Building image\n' +
    'Waiting for depot builder...\n' +
    '\n' +
    '==> Building image with Depot\n' +
    '--> build:  (​)\n' +
    '#1 [internal] load build definition from Dockerfile\n' +
    '#1 DONE 0.0s\n' +
    '\n' +
    '#1 [internal] load build definition from Dockerfile\n' +
    '#1 transferring dockerfile: 3.18kB 0.0s done\n' +
    '#1 DONE 0.0s\n' +
    '\n' +
    '#2 [internal] load metadata for docker.io/library/node:18.18.0-alpine3.17\n' +
    '#2 CANCELED\n' +
    '==> Building image\n' +
    'Waiting for depot builder...\n' +
    '\n' +
    '==> Building image with Depot\n' +
    '--> build:  (​)\n' +
    '#1 [internal] load build definition from Dockerfile\n' +
    '#1 transferring dockerfile: 3.18kB 0.0s done\n' +
    '#1 DONE 0.0s\n' +
    '\n' +
    '#2 [internal] load metadata for docker.io/library/node:18.18.0-alpine3.17\n' +
    '#2 DONE 0.7s\n' +
    '\n' +
    '#3 [internal] load .dockerignore\n' +
    '#3 transferring context: 101B 0.0s done\n' +
    '#3 DONE 0.0s\n' +
    '\n' +
    '#4 [node 1/1] FROM docker.io/library/node:18.18.0-alpine3.17@sha256:8cdc5ff72de424adca7217dfc9a6c4ab3f244673789243d0559a6204e0439a24\n' +
    '#4 resolve docker.io/library/node:18.18.0-alpine3.17@sha256:8cdc5ff72de424adca7217dfc9a6c4ab3f244673789243d0559a6204e0439a24 done\n' +
    '#4 DONE 0.0s\n' +
    '\n' +
    '#5 [base 1/1] RUN apk --no-cache -U upgrade # To ensure any potential security patches are applied.\n' +
    '#5 CACHED\n' +
    '\n' +
    '#6 [server-production  1/10] RUN apk add --no-cache python3\n' +
    '#6 CACHED\n' +
    '\n' +
    '#7 [server-production  2/10] WORKDIR /app\n' +
    '#7 CACHED\n' +
    '\n' +
    '#8 [internal] load build context\n' +
    '#8 ...\n' +
    '\n' +
    '#9 [server-builder  3/11] COPY src ./src\n' +
    '#9 CACHED\n' +
    '\n' +
    '#10 [server-builder  5/11] COPY package-lock.json .\n' +
    '#10 CACHED\n' +
    '\n' +
    '#11 [server-builder  6/11] COPY server .wasp/build/server\n' +
    '#11 CACHED\n' +
    '\n' +
    '#12 [server-builder  1/11] RUN apk add --no-cache python3 build-base libtool autoconf automake\n' +
    '#12 CACHED\n' +
    '\n' +
    '#13 [server-builder  2/11] WORKDIR /app\n' +
    '#13 CACHED\n' +
    '\n' +
    '#14 [server-builder  4/11] COPY package.json .\n' +
    '#14 CACHED\n' +
    '\n' +
    '#15 [server-builder  7/11] COPY sdk .wasp/out/sdk\n' +
    '#15 CACHED\n' +
    '\n' +
    '#8 [internal] load build context\n' +
    '#8 transferring context: 7.77MB 0.9s done\n' +
    '#8 ...\n' +
    '\n' +
    '#16 [server-builder  8/11] RUN npm install && cd .wasp/build/server && npm install\n' +
    "#16 1.622 npm ERR! Cannot read properties of undefined (reading 'extraneous')\n" +
    '#16 1.624 \n' +
    '#16 1.624 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-10-26T18_18_20_185Z-debug-0.log\n' +
    '#16 ERROR: process "/bin/sh -c npm install && cd .wasp/build/server && npm install" did not complete successfully: exit code: 1\n' +
    '------\n' +
    ' > [server-builder  8/11] RUN npm install && cd .wasp/build/server && npm install:\n' +
    "1.622 npm ERR! Cannot read properties of undefined (reading 'extraneous')\n" +
    '1.624 \n' +
    '1.624 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2024-10-26T18_18_20_185Z-debug-0.log\n' +
    '------\n' +
    'Error: failed to fetch an image or build from source: error building: failed to solve: process "/bin/sh -c npm install && cd .wasp/build/server && npm install" did not complete successfully: exit code: 1\n',
Was this page helpful?