Back

Unable to run the appwrite repository locally

  • 0
  • General
FreSauce
9 Sep, 2023, 08:21

Hey, I'm trying to setup the appwrite repo on my laptop using the instructions from https://github.com/appwrite/appwrite/blob/master/CONTRIBUTING.md#setup-from-source When i do docker compose build it is stuck at this stage ERROR [appwrite node 4/5] RUN npm ci I am currently running this on Windows with WSL2 docker. Am I doing anything wrong here?

TL;DR
I am having trouble running the appwrite repository locally. I turned on my VPN and the build succeeded. However, there are no logs and it gets stuck on the building step. I am wondering if there is an error or log that explains why `npm ci` failed. Someone suggested running `git submodule update --init` and it worked for them, but it didn't work for me. I am following the instructions from the GitHub repository and running the build command on Windows with WSL2 docker. Can anyone help me figure out what I am doing wrong?
Drake
9 Sep, 2023, 15:44

Did you run git submodule update --init?

FreSauce
9 Sep, 2023, 15:45

yea

Drake
9 Sep, 2023, 15:55

If you go into app/console, can you run npm ci successfully?

Drake
9 Sep, 2023, 15:56

Is there any error/log that says why npm ci failed?

FreSauce
9 Sep, 2023, 16:00

no logs, it was stuck on building step

FreSauce
9 Sep, 2023, 16:00

also, i turned on vpn, and now it went past that error stage. maybe it will build this time

FreSauce
9 Sep, 2023, 16:03

hey, build succeded

FreSauce
9 Sep, 2023, 16:04

thanks for responding

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more