Deploys suddenly not working on render.com

As of today, it looks like my deploys to render.com are failing, because it looks like their nodejs image doesn’t have Python installed:

better-sqlite3@npm:8.6.0 STDERR gyp ERR! stack Error: Could not find any Python installation to use

Looking at an older (successful) deployment, it looks like previously it was able to find an old version of Python: better-sqlite3@npm:8.6.0 STDERR gyp info find Python using Python version 3.7.3 found at "/usr/bin/python3"

I’m using the default settings from yarn rw setup deploy render - and everything was working just fine until this morning.

I’ve tried their Python environment, but that fails trying to unlink pnpm:

==> Running build command 'corepack enable && yarn install && yarn rw build api'...
Internal Error: EROFS: read-only file system, unlink '/usr/bin/pnpm'
Error: EROFS: read-only file system, unlink '/usr/bin/pnpm'

Anyone run into similar issues?

Looks like this is bugs on render’s side, working through it with them.

1 Like

They’ve fixed this on their end, but I suspect render builds break in the future.

Right now it looks like the build relies on an old version of Python at /usr/bin/python3 on their node image, which it looks like they removed (and then put back).