on 10-03-2023 10:53 AM
As explained here
I created a technical user and I created an .npmrc file in the root folder of the project. But when I try to execute
ng add @spartacus/schematics@6.4.0
I receive this error:
Unable to fetch package information for '@spartacus/schematics@6.4.0': 404 Not Found - GET https://73554900100900007551.npmsrv.base.repositories.cloud.sap/@spartacus%2fschematics - Package '@spartacus/schematics' not found
How can we solve the problem?
We solved the problem, it was related to user permissions. Using npm Base 64 Credentials generated from a user with proper permissions it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The template for the .npmrc from the documentation link you shared looks like following:
@spartacus:registry=https://73554900100900004337.npmsrv.base.repositories.cloud.sap/
//73554900100900004337.npmsrv.base.repositories.cloud.sap/:_auth=<npmcredentialsfromrbsc>
always-auth=true
If you look at the URL in the above template, it looks different to the one from your post. Perhaps, just use the above template and add your credentials to it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.