Glitch doesn’t seem to handle “uninstalling” Puppeteer very well and so when I’m typing away into the editor, and Puppeteer’s install keeps getting interrupted due to the auto-save/restart, it seems to leave around some files or something and steadily fill up the disk space.
I first started getting a disk full error and then that turned into this error:
(node:1060) UnhandledPromiseRejectionWarning: Error: Chromium revision is not downloaded. Run "npm install" or "yarn install"
at Launcher.launch (/app/node_modules/puppeteer/lib/Launcher.js:118:15)
I copied all the code to a new project and then it worked fine again.
I tried running enable-pnpm and it seemed to fix the issue for a few days, but my project is acting up when trying to install puppeteer:
ERROR: Failed to download Chromium r637110! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: ENOSPC: no space left on device, write
Unfortunately no useful ones; we think this might be caused by a race condition between some steps of the install process, so shorter install times may encounter it less often, but that’s not a particularly valuable mitigation for most projects, unless your package.json has a lot of cruft in it, but that doesn’t appear to be the case in this project.