Build Failure: "Request is not defined" – Netlify Extensions System Bug (No netlify.toml, no plugins, clean repo)

Hi, I’m experiencing a persistent issue with my site

Error:

Failed retrieving extensions for site XXXXXX-ZZZZZ-YYYYYY-PPPPPPPPP: Request is not defined
Build script returned non-zero exit code: 2

I’m using the lighthouse plugin and I’ve done all the standard troubleshooting steps:

  • Remove/unsinstall/disable all plugins
  • Logged out/in (netlify login)
  • Check netlify status
  • Unlinked and re-linked the repo
  • Retrasnfer the site to my team
  • No netlify.toml
  • No plugins active on the site
  • Build runs locally with netlify build without errors

I suspect the problem started after creating a second site with the same GitHub repo, because we want to migrate to a new url; but this may have corrupted the internal metadata for this site. I tried also contacting support for this case but they wont create a ticket for this issue. This seems to be a Netlify platform bug related to extension resolution.

Is there a way to force a full reset of the internal configuration?
Or can a staff member wipe the broken extension linkage?

Thanks in advance — this seems like a backend problem that needs a real fix.

What version of Node.js, Netlify CLI are you using?