When i run the command docker compose -f docker-compose-speckle.yml up --build -d in the last step i get this error with Yarn
Step 24/41 : RUN yarn workspaces focus -A
—> Running in 1bdf4aec3a13
➤ YN0000: ┌ Resolution step
➤ YN0013: │ @types/react@file:./packages/frontend-2/type-augmentations/stubs/types__react#./packages/frontend-2/type-augmentations/stubs/types__react::hash=2ea486&locator=root%40workspace%3A. can’t be found in the cache and will be fetched from the disk
➤ YN0002: │ @graphql-codegen/cli@npm:2.13.7 [ede1a] doesn’t provide @types/node (p32873), requested by cosmiconfig-typescript-loader
➤ YN0002: │ @graphql-codegen/cli@npm:2.13.7 [ede1a] doesn’t provide ts-node (pfab76), requested by cosmiconfig-typescript-loader
➤ YN0002: │ @graphql-codegen/cli@npm:2.13.7 [ede1a] doesn’t provide typescript (p5f479), requested by cosmiconfig-typescript-loader
Thanks for trying to build Speckle server and sorry you’ve bumped into some issues.
Firstly, which operating system are you using?
In the output you have provided I’m unable to identify any error messages - they appear to be warning messages which shouldn’t stop the build. Can you please provide more of the output, or a screenshot?
I tried to reproduce your issue, but i was not able to get things stuck on Deb 12.
Can you check, that your ( i presume VM ) machine has enough CPU, RAM and disk available? Its especially weird, that the build fails for you during the docker build stage. In our CI, we’re using a build image derived from latest debian and we have not had this issue before.
The VM specifications are as follows:
RAM: 4GB
Disk memory: 40GB (25GB available)
CPU: Architecture: x86_64, Intel(R) Xeon(R)
Does it accomplish the minimum requirements to deploy the server? Otherwise what do you recommend?
@mabover - if you are only deploying the server and do not have a requirement to create new images (i.e. you have not customised code which needs to be built) then I would recommend deploying without building.
Please refer to the docker compose files suggested in our guide for examples on how to deploy without building the image. This would allow you to omit the --build flag in your docker compose command.
Hi Iainsproat!
The problem it´s that we need to create the image.
This problem can be related to the proxy? Because we don´t know where set it…
Can you tell me where i have to set my proxy in the docker-compose-speckle.yml?