Hello, I’m attempting to create a plugin on Bubble.io that requires the Puppeteer library. During the installation process within the Bubble plugin editor, I’m encountering an error that prevents the package from being built. The full error message I receive is:
There was an error building your package: Command failed: cd /tmp/bubble_lambda && npm install
npm ERR! code 1
npm ERR! path /tmp/bubble_lambda/node_modules/puppeteer
npm ERR! command failed
npm ERR! command sh -c node install.mjs
npm ERR! ERROR: Failed to set up Chrome r119.0.6045.105! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
npm ERR! [Error: ENOSPC: no space left on device, write] {...}
It seems the issue is related to a lack of space on the device, as indicated by the ENOSPC
error. Also, there’s a suggestion to set the PUPPETEER_SKIP_DOWNLOAD
environment variable to skip Chrome’s download, which is a step needed for Puppeteer’s installation.
Do you have any recommendations on how I can resolve this space issue on the Bubble environment device? Is there a way to configure the PUPPETEER_SKIP_DOWNLOAD
environment variable through the Bubble editor, or is there an alternative workaround so that I can proceed with the Puppeteer library installation and my plugin creation?
Thank you in advance for any assistance!"