429 Too Many Requests - getting packets from npmjs.org is getting blocked

So, during our deployment workflow we need to install babel-cli to be able to run yarn compile.

Now npmjs.org seems to block the circleci IP address with errorcode 429, which as far as I understand is due to DDOS prevention on npmjs side?

#!/bin/bash -eo pipefail
yarn install
cd node_modules/dxf
npm install babel-cli
yarn compile
cd ../..
yarn install v1.21.1
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.55s.
npm ERR! code E429
npm ERR! 429 Too Many Requests - GET https://registry.npmjs.org/babel-cli

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/circleci/.npm/_logs/2020-02-17T11_46_57_674Z-debug.log

PS: 5 days ago, the same script worked perfectly. We’re not using this workflow more then once per week. I’m assuming some GET quota on npmjs.org has been hit in the meantime by other workflows running on circleci machines?

1 Like

I’m having the same issue during the npm install part of the Circleci build

#!/bin/bash -eo pipefail
npm install
npm ERR! code E429
npm ERR! 429 Too Many Requests: @babel/plugin-transform-flow-strip-types@7.2.3

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-02-17T11_54_23_166Z-debug.log

Exited with code exit status 1

1 Like

Hi All,

This looks like it is related to the NPM registry issues that have been ongoing today.

For more information about this ongoing issue, please check out the status page for NPM at https://status.npmjs.org

Please also refer: https://github.com/npm/cli/issues/836

Regards,
Pawan Bahuguna

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.