docker icon indicating copy to clipboard operation
docker copied to clipboard

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

Open notflip opened this issue 2 years ago • 4 comments

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?

notflip avatar Nov 01 '23 20:11 notflip

Same problem here

lorenzdomb avatar Nov 02 '23 10:11 lorenzdomb

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

notflip avatar Nov 16 '23 08:11 notflip

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.

fntrackr avatar Dec 28 '23 23:12 fntrackr

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/

sirken avatar Mar 19 '24 19:03 sirken