Builds failing suddenly

One of our sites (details below) is no longer building for no apparent reason. It was successfully building until December 26, 2024, but stopped on December 30, 2024. Although a PR has been merged in between, I’ve tested it by reverting that commit, but it still doesn’t build. The main error message is “Error while installing dependencies in /opt/build/repo/.netlify/plugins/“. Help?

Site name: app-therm-stage
Build log: Netlify
(LMK if you aren’t able to access the logs for any reason)

Does removing the extension: Netlify solve the issue?

We need the CSP extension enabled for most sites, so that unfortunately won’t work for us. However I tried disabling it for testing using CSP_NONCE_DISTRIBUTION set to 0 and it still didn’t build.

Log: Netlify

What changed between the 26th and the 30th of December, 2024?

This is a blocker for us :sweat:

Does anyone have a solution?

I suggested removing the plugin entirely for testing. Using the environment variable still leaves the plugin enabled.

That’s not much of a solution for us, as we definitely need the extension.

Anyways, I turned it off to test and the build was successful. Upon re-enabling it, the build failed.

Several of our builds are breaking. Is there a solution to this or what?

Hi @shravan,

Sorry to hear you’re still having issues. If you try the npm package here:

This will help us narrow down the issue. Do you run into the same issue where the deploy fails or is it successful?