ECONNRESET npm error when building on Pages
Hello, we've been running into an intermittent
ECONNRESET
error during the npm install step when building our app on Pages. This never used to happen but it started happening daily over the last few weeks. We're using Node v18.20.0 (npm v10.5.0).
Have you seen this type of intermitent issue before? I'd appreciate any suggestions for how to fix it. Thank you!
Happy to send an example build, but here's the relevant portion of the build log:
8 Replies
?pages-deployment-id
The Pages deployment ID is a unique build identifier.
It's the UUID in the browser bar (for example, a URL would be
dash.cloudflare.com/ACCOUNT_ID/pages/view/PROJECT/DEPLOYMENT_ID
where the deployment ID looks something like a398d794-7322-4c97-96d9-40b5140a8d9b
).
This ID can help troubleshoot some issues with Pages builds so if you have a failing build make sure you grab that ID for the team to use.can you share a recent deployment id which had the problem?
If youre also comfortable sharing your package.json and package-lock.json files, that would be extremely helpful too
Hi! Yes, here's the deployment ID from the most recent instance today
7e226ebc-92c9-406d-9c8b-c7ea23011e6f
This is a monorepo, so there are various package.json files involved, do you need me to send you all of them?Here's the package-lock.json
We're also running into a few other intermittent issues on our Pages builds. As you'll notice from the package-lock.json, this is quite a big repo that has been slowly but surely growing over time. Is it possible that these issues we're seeing are related to the size of the monorepo?
hi @Maxi Ferreira, I've opened a Support case for this. You should soon receive an email related to it 👍
Thank you!