calcom / docker

The Docker configuration for Cal.com is an effort powered by people within the community. Cal.com, Inc. does not provide official support for Docker, but we will accept fixes and documentation. Use at your own risk.
MIT License
646 stars 338 forks source link

Couldn't find the node_modules state file - running an install might help (findPackageLocation #303

Open notflip opened 10 months ago

notflip commented 10 months ago

Get this error when following the steps in the README.md, all configuration as default as possible.

➤ YN0013: │ @aws-sdk/middleware-endpoint@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

Any ideas?

lorenzdomb commented 10 months ago

Same problem here

notflip commented 9 months ago

Has anyone seen this issue? Just following the steps from the README here

fntrackr commented 8 months ago

I encountered the same problem on a VPS and it was due to an out-of-memory constraint during yarn install. I created a 10GB swapfile and the build worked.

sirken commented 5 months ago

I came across the same thing. At the height of the build process the system was using 8-9GB of ram and when completed had consumed about 15GB of storage. For extra cushion I would recommend 10GB ram and 20GB free space.

swapfile guide - https://linuxize.com/post/create-a-linux-swap-file/