2euxs
2euxs
WWasp-lang
Created by 2euxs on 9/19/2024 in #🙋questions
failed to fetch an image or build from source: error building
@kapa.ai > [stage-6 2/2] COPY docker-entrypoint /app/docker-entrypoint:\n' + '------\n' + 'Error: failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref 2096f6e3-e971-4083-b88a-df866b4f2a87::rvl2bk5v5r9po75cwsnnh95sa: "/docker-entrypoint": not found\n'
38 replies
WWasp-lang
Created by 2euxs on 9/19/2024 in #🙋questions
failed to fetch an image or build from source: error building
s
38 replies
WWasp-lang
Created by 2euxs on 9/19/2024 in #🙋questions
failed to fetch an image or build from source: error building
Here is what my docker file looks like @kapa.ai # syntax = docker/dockerfile:1 Adjust NODE_VERSION as desired ARG NODE_VERSION=20.13.1 FROM node:16-alpine AS node LABEL fly_launch_runtime="NodeJS/Prisma" NodeJS/Prisma app lives here WORKDIR /app Set production environment ENV NODE_ENV=production Throw-away build stage to reduce size of final image FROM base as build Install packages needed to build node modules RUN apk add --no-cache python3 pkgconf build-base openssl Install node modules COPY --link package.json package-lock.json . RUN npm install --production=false Generate Prisma Client COPY --link db . RUN npx prisma generate Copy application code COPY --link . . Remove development dependencies RUN npm prune --production Final stage for app image FROM base Copy built application COPY --from=build /app /app Entrypoint prepares the database. ENTRYPOINT ["/app/docker-entrypoint"] Start the server by default, this can be overwritten at runtime CMD [ "npm", "run", "start" ]
38 replies
WWasp-lang
Created by 2euxs on 9/19/2024 in #🙋questions
failed to fetch an image or build from source: error building
Here is what my dockerfile looks like : # syntax = docker/dockerfile:1 Adjust NODE_VERSION as desired ARG NODE_VERSION=20.13.1 FROM node:16-alpine AS node LABEL fly_launch_runtime="NodeJS/Prisma" NodeJS/Prisma app lives here WORKDIR /app Set production environment ENV NODE_ENV=production Throw-away build stage to reduce size of final image FROM base as build Install packages needed to build node modules RUN apk add --no-cache python3 pkgconf build-base openssl Install node modules COPY --link package.json package-lock.json . RUN npm install --production=false Generate Prisma Client COPY --link db . RUN npx prisma generate Copy application code COPY --link . . Remove development dependencies RUN npm prune --production Final stage for app image FROM base Copy built application COPY --from=build /app /app Entrypoint prepares the database. ENTRYPOINT ["/app/docker-entrypoint"] Start the server by default, this can be overwritten at runtime CMD [ "npm", "run", "start" ]
38 replies
WWasp-lang
Created by 2euxs on 9/19/2024 in #🙋questions
failed to fetch an image or build from source: error building
@kapa.ai 'Error: failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref 2096f6e3-e971-4083-b88a-df866b4f2a87::se8q7rky6af9na15oq3m4zwt0: "/app": not found\n'
38 replies
WWasp-lang
Created by 2euxs on 9/19/2024 in #🙋questions
failed to fetch an image or build from source: error building
@kapa.ai 'Error: failed to fetch an image or build from source: error building: failed to solve: process "/bin/sh -c cd db && npx prisma generate" did not complete successfully: exit code:
38 replies
WWasp-lang
Created by 2euxs on 9/19/2024 in #🙋questions
failed to fetch an image or build from source: error building
@kapa.ai New Error : 'Error: failed to fetch an image or build from source: error building: failed to solve: process "/bin/sh -c apt-get update -qq && apt-get install -y python-is-python3 pkg-config build-essential openssl" did not complete successfully: exit code: 127\n
38 replies
WWasp-lang
Created by 2euxs on 9/19/2024 in #🙋questions
failed to fetch an image or build from source: error building
New Error : 'Error: failed to fetch an image or build from source: error building: failed to solve: process "/bin/sh -c apt-get update -qq && apt-get install -y python-is-python3 pkg-config build-essential openssl" did not complete successfully: exit code: 127\n
38 replies
WWasp-lang
Created by 2euxs on 9/19/2024 in #🙋questions
failed to fetch an image or build from source: error building
@kapa.ai Here is what my Docker file looks like : syntax = docker/dockerfile:1 Adjust NODE_VERSION as desired ARG NODE_VERSION=20.13.1 FROM node:16-alpine AS node LABEL fly_launch_runtime="NodeJS/Prisma" NodeJS/Prisma app lives here WORKDIR /app Set production environment ENV NODE_ENV=production Throw-away build stage to reduce size of final image FROM base as build Install packages needed to build node modules RUN apt-get update -qq && \ apt-get install -y python-is-python3 pkg-config build-essential openssl Install node modules COPY --link package.json package-lock.json . RUN npm install --production=false Generate Prisma Client COPY --link prisma . RUN npx prisma generate Copy application code COPY --link . . Remove development dependencies RUN npm prune --production Final stage for app image FROM base Copy built application COPY --from=build /app /app Entrypoint prepares the database. ENTRYPOINT ["/app/docker-entrypoint"] Start the server by default, this can be overwritten at runtime CMD [ "npm", "run", "start" ]
38 replies
WWasp-lang
Created by 2euxs on 9/19/2024 in #🙋questions
failed to fetch an image or build from source: error building
@kapa.ai Thanks, this fixed the error. But now I have a new one : Error: failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref 2096f6e3-e971-4083-b88a-df866b4f2a87::n6x7naw1bb7vueyrzqeui0lql: "/prisma": not found\n
38 replies
WWasp-lang
Created by 2euxs on 9/15/2024 in #🙋questions
Error: failed to fetch an image or build from source: error building: failed to solve: failed to com
Where can I find wasp/client/auth ? @kapa.ai
16 replies
WWasp-lang
Created by 2euxs on 9/15/2024 in #🙋questions
Error: failed to fetch an image or build from source: error building: failed to solve: failed to com
Where can I find wasp/client/auth ?
16 replies
WWasp-lang
Created by 2euxs on 9/15/2024 in #🙋questions
Error: failed to fetch an image or build from source: error building: failed to solve: failed to com
@kapa.ai '🐝 --- Building SDK... ------------------------------------------------------------\n' + '\x1B[0m\n' + '\n' + \x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/auth/email-and-pass/emails.ts(1,15): error TS2305: Module '"wasp/server/auth"' has no exported member 'GetVerificationEmailContentFn'.\n + \x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/auth/email-and-pass/emails.ts(1,51): error TS2305: Module '"wasp/server/auth"' has no exported member 'GetPasswordResetEmailContentFn'.\n + \x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/auth/email-and-pass/EmailVerificationPage.tsx(2,10): error TS2305: Module '"wasp/client/auth"' has no exported member 'VerifyEmailForm'.\n + \x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/auth/email-and-pass/PasswordResetPage.tsx(2,10): error TS2305: Module '"wasp/client/auth"' has no exported member 'ResetPasswordForm'.\n + \x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/auth/email-and-pass/RequestPasswordResetPage.tsx(1,10): error TS2305: Module '"wasp/client/auth"' has no exported member 'ForgotPasswordForm'.\n + "\x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/newsletter/sendNewsletter.ts(4,29): error TS2307: Cannot find module 'wasp/server/email' or its corresponding type declarations.\n" + "\x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/newsletter/sendNewsletter.ts(5,28): error TS2307: Cannot find module 'wasp/server/email/core/types' or its corresponding type declarations.\n" + "\x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/payment/stripe/webhook.ts(9,29): error TS2307: Cannot find module 'wasp/server/email' or its corresponding type declarations.\x1B[31m\n" + '\n' + '❌ --- [Error] Your wasp project failed to compile: -------------------------------\n' + '\n' + '- SDK build failed with exit code: 2\x1B[0m\n' + '\x1B[31m\n' + '\n' + '❌ --- [Error] Building of wasp project failed: -----------------------------------\n' + '\n' + '1 errors found.\x1B[0m\n' }
16 replies
WWasp-lang
Created by 2euxs on 9/15/2024 in #🙋questions
Error: failed to fetch an image or build from source: error building: failed to solve: failed to com
'🐝 --- Building SDK... ------------------------------------------------------------\n' + '\x1B[0m\n' + '\n' + \x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/auth/email-and-pass/emails.ts(1,15): error TS2305: Module '"wasp/server/auth"' has no exported member 'GetVerificationEmailContentFn'.\n + \x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/auth/email-and-pass/emails.ts(1,51): error TS2305: Module '"wasp/server/auth"' has no exported member 'GetPasswordResetEmailContentFn'.\n + \x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/auth/email-and-pass/EmailVerificationPage.tsx(2,10): error TS2305: Module '"wasp/client/auth"' has no exported member 'VerifyEmailForm'.\n + \x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/auth/email-and-pass/PasswordResetPage.tsx(2,10): error TS2305: Module '"wasp/client/auth"' has no exported member 'ResetPasswordForm'.\n + \x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/auth/email-and-pass/RequestPasswordResetPage.tsx(1,10): error TS2305: Module '"wasp/client/auth"' has no exported member 'ForgotPasswordForm'.\n + "\x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/newsletter/sendNewsletter.ts(4,29): error TS2307: Cannot find module 'wasp/server/email' or its corresponding type declarations.\n" + "\x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/newsletter/sendNewsletter.ts(5,28): error TS2307: Cannot find module 'wasp/server/email/core/types' or its corresponding type declarations.\n" + "\x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/payment/stripe/webhook.ts(9,29): error TS2307: Cannot find module 'wasp/server/email' or its corresponding type declarations.\x1B[31m\n" + '\n' + '❌ --- [Error] Your wasp project failed to compile: -------------------------------\n' + '\n' + '- SDK build failed with exit code: 2\x1B[0m\n' + '\x1B[31m\n' + '\n' + '❌ --- [Error] Building of wasp project failed: -----------------------------------\n' + '\n' + '1 errors found.\x1B[0m\n' } @kapa.ai
16 replies
WWasp-lang
Created by 2euxs on 9/10/2024 in #🙋questions
How do I edit the navbar in opensaas
@kapa.ai I meant the logo in the navbar
17 replies
WWasp-lang
Created by 2euxs on 9/10/2024 in #🙋questions
How do I edit the navbar in opensaas
@kapa.ai How can I change the logo in opensaas ?
17 replies
WWasp-lang
Created by 2euxs on 9/10/2024 in #🙋questions
How do I edit the navbar in opensaas
ok thank you
17 replies
WWasp-lang
Created by 2euxs on 9/10/2024 in #🙋questions
How do I edit the navbar in opensaas
No description
17 replies
WWasp-lang
Created by 2euxs on 9/10/2024 in #🙋questions
How do I edit the navbar in opensaas
Thank you !
17 replies
WWasp-lang
Created by 2euxs on 8/6/2024 in #🙋questions
S3 files can't update
@kapa.ai How can I get user id
11 replies