Sergei Reutov
06/30/2023, 8:40 AMDOCKER_BUILDKIT=0 docker compose build calcom returns this error:
➤ YN0013: │ @aws-sdk/middleware-endpoint@npm:3.272.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @aws-sdk/middleware-host-header@npm:3.272.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @aws-sdk/is-array-buffer@npm:3.201.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @aws-sdk/middleware-content-length@npm:3.272.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @aws-sdk/middleware-endpoint@npm:3.272.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @aws-sdk/middleware-host-header@npm:3.272.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ @aws-sdk/middleware-logger@npm:3.272.0 can't be found in the cache and will be fetched from the remote registry
Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)
$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] <scriptName> ...
The command '/bin/sh -c yarn config set httpTimeout 1200000 && npx turbo prune --scope=@calcom/web --docker && yarn install && yarn db-deploy && yarn --cwd packages/prisma seed-app-store' returned a non-zero code: 1
I’ve tried running yarn install in the root folder and in the ./calcom folder - same result.
I’m on Mac (Ventura 13.4.1), using Node v18.16.1, Docker v.4.19.0
Any idea how to fix it?Sergei Reutov
06/30/2023, 11:43 AMyarn db-deploy causes the error. Could it be related with external database instead of the local one?Sergei Reutov
06/30/2023, 3:33 PMyarn install) is not properly installing the packages (although it ends with code 0).
I’ve tried to open the containers terminal and install packages from there, but it silently stops on the “Fetch step”:Connor Monaghan
07/02/2023, 11:55 PMdocker buildx create --name builder-ae930490-a5b1-451f-809d-e3e509cd48f7 --driver docker-container --driver-opt network=container:database --buildkitd-flags '--allow-insecure-entitlement security.insecure --allow-insecure-entitlement network.host' --use
2. Do the build
docker buildx build --build-arg NEXT_PUBLIC_WEBAPP_URL=<http://localhost:3000> --build-arg NEXT_PUBLIC_LICENSE_CONSENT= --build-arg NEXT_PUBLIC_TELEMETRY_KEY= --build-arg DATABASE_URL=<postgresql://unicorn_user:magical_password@localhost:5432/calendso> —build-arg GOOGLE_API_CREDENTIALS={} --file ./Dockerfile --platform linux/amd64
Might need to fiddle slightly with what i've pasted there but it should workSergei Reutov
07/03/2023, 10:29 AMColin - Krumware
07/03/2023, 2:00 PMSergei Reutov
07/03/2023, 2:51 PMSergei Reutov
07/03/2023, 2:54 PMColin - Krumware
07/03/2023, 2:55 PMColin - Krumware
07/03/2023, 2:55 PMSergei Reutov
07/03/2023, 2:58 PMSergei Reutov
07/03/2023, 3:27 PMSergei Reutov
07/04/2023, 7:50 AMSergei Reutov
07/04/2023, 8:24 AMColin - Krumware
07/05/2023, 7:18 PMColin - Krumware
07/05/2023, 7:19 PMdocker system prune --all --volumes as well