Why is npm giving 500 and 503 errors: “registry error parsing json”? December 22, 2023 by Tarik Try using a mirror for example the european mirror: npm --registry http://registry.npmjs.eu/ install karma