Yarn install fails: Error: ENOSPC: no space left on device, write (Budibase)

I previously posted about a similar issue with running out of scratch space in a Replit, but it was suggested that I post about this specific issue as a new post.

To reproduce:

  1. Create a new Replit by importing this GitHub repo: GitHub - Budibase/budibase: Low code platform for creating internal tools, workflows, and admin panels in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀. Budibase, the low code platform you'll enjoy using ⚡.
  2. In a shell, run cd packages/client and then yarn install (this project is a monorepo with many sub-packages).
  3. When it prompts you Please choose a version of "@budibase/pro" from this list choose the most recent version (I chose 2.8.14).
  4. Wait and your Replit will produce output similar to the following:

Node projects using npm/yarn don’t use up scratch disk, so I have no idea why this is happening. :thinking:

2 Likes

Hey @Nezteb!

Thank you for reporting this. I have sent this to the team and will let you know as soon as I have an update.

1 Like

Hey!

We took a deeper look into this issue by following the reproduction steps you listed, but we ran into an issue with an incompatible node version:

Do you have a Repl we can fork so we can look into this issue with a working repro?

I just did the normal “GitHub Import” when creating a new Replit, so the version was presumably chosen for me.

Here is the Replit though: https://replit.com/@Nezteb/budibase

I did just try to reproduce this again, but now it actually works; sneaky sneaky!

Although, the scratch disk usage is off the charts:

I apologize for the delay on this. I was out last week.

I’m glad that you were able to get it working! If you run into the issue again, please let me know and we’ll take another look!