Rank 1: Thread
I cloned to Appwrite repo, ran docker build and got an error resulting from the vite build command ran from the console repo.
Logs are attached.
Can I get some directions on how to debug the issue?
Votes
0
Replies
6
Participants
Unknown
Messages
7
Rank 1: Thread
I cloned to Appwrite repo, ran docker build and got an error resulting from the vite build command ran from the console repo.
Logs are attached.
Can I get some directions on how to debug the issue?
Admin
Did you follow the instructions here: https://github.com/appwrite/appwrite/blob/master/CONTRIBUTING.md#setup-from-source?
Rank 1: Thread
Yes. The console project directory is populated with the source code. I also made sure to double check and ran the git submodule update --init command several times.
Admin
weird...the only other thing i can think of is memory constraints. how much memory does your machine have? how much memory is allocated for docker?
Rank 1: Thread
I have a mac with 16GB of RAM. I did have an issue with available memory, but it specifically mentioned it, so I closed some apps and the error changed.
Regarding to how much space is allocated to docker - I haven't set a limit. I'll try to see if there are any default limits.
I also tried to check already open ports, but it fails in the build stage so I don't know if it's relevant.
Rank 1: Thread
It was an issue of memory. Docker Desktop sets the default limit to 2GB.
Thanks a lot!
Admin
[SOLVED] docker compose build results in vite build error SIGKILL