on 01-13-2023 3:08 PM
We tried to run following command but it still fails to build mta for deployment since morning (CET)
echo registry=https://registry.npmjs.org/ > .npmrc
npm ERR! code E404
npm ERR! 404 Not Found - GET http://nginx-redirector.repo-cache.svc.cluster.local/wordwrap/-/wordwrap-1.0.0.tgz
npm ERR! 404
npm ERR! 404 'https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz' is not in this registry.
npm ERR! 404 This package name is not valid, because
npm ERR! 404 1. name can only contain URL-friendly characters
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
Is it general issue or we are missing something here.
Hi erkandegerli,
please take a look at this previously answered question that appears similar to your issue. It seems as though you are using SAP BAS to develop your SAP CAP application. According to boris.tsirulnik's answer here it is not recommended to change the default NPM registry config as SAP BAS performs its own caching of packages. Therefore I would suggest to remove your custom NPM registry config and retry the build.
Best regards,
Marcel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi marcel.schwarz , erkandegerli ,
There was an issue with the repo cace and this is why we guided users to use this work around.
Anyhow, the repo cache should be disabled today centrally until a fix is provided. eliranaz can you comment on how to disable the cache till then, as it seems the following didn't work: 'echo registry=https://registry.npmjs.org/ > .npmrc' ?
Thanks,
Liat
User | Count |
---|---|
82 | |
11 | |
10 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.