I have a GitHub repository in which there are two folders, namely client and server. My client folder is a Vite React TypeScript project and my server one is Express with TypeScript. I can build on my local computer just fine. However, when I clone my repo into my DigitalOcean droplet (1CPU, 512Mb RAM), I cannot build it.
The errors for my client folder looks like this. There are as many as 130 of them. They are either
Error type 1
or
Error type 2
or
Error type 3
On the server side, the error is
Server build error.
I have tried upgrading my droplet to 1Gb RAM but to no avail. I also have tried installing corresponding types as is shown in my package.json
.
dev dependencies for client
dev dependencies for server.