Hello,
We have a pipeline stage that’s trying to do a npm publish
to another our our projects’ registry but it’s receiving back 400 from the registry. This is something that has started to happen in the last couple/few days only. It was working fine for about a year with and we haven’t changed the code of the pipeline itself since we’ve gotten it up and running.
I intercepted the traffic and was able to gander that the actual request is to:
https://gitlab.com/api/v4/projects/14581286/packages/npm/@article17%2fharpocrates-client
And the body response from the registry is (code 400):
{
"message": "Validation failed: Package json structure is too large"
}
Our package is small, see the npm output before publishing:
npm notice === Tarball Details ===
npm notice name: @article17/harpocrates-client
npm notice version: 2.44.1-17-g360e
npm notice package size: 278.2 kB
npm notice unpacked size: 3.1 MB
Anyway, we wonder if this has to do with a recent gitlab update? Our pipelines are completely broken right now because of this. We’re not sure how we can resolve the problem anymore.
Thanks,
Alex