on 04-04-2023 8:21 PM
Hi Community
While building the Spartacus storefront from the library, am getting the below error.
Following this document for reference : https://help.sap.com/docs/SAP_COMMERCE_COMPOSABLE_STOREFRONT/cfcf687ce2544bba9799aa6c8314ecd0/5de678...
Does anyone have any thoughts on it?why it could be.
Error: × Unable to fetch package information for '@spartacus/schematics@5.2.0': 404 Not Found - GET
You should check this KBA
https://launchpad.support.sap.com/#/notes/3292675
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
All I have confirmed from SAP,as well as this issue is due License for Composable Storefront library.
Follow this KBA note: https://launchpad.support.sap.com/#/notes/3292675
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohan and samuel.yang!
I'm getting similar errors when I'm trying to update spartacus storefront from 4.3 to 5.0.
If I set repository URL like SAP documentation (https://73554900100900004337.npmsrv.base.repositories.cloud.sap), It is returning 403 - Forbidden:
But in RBSC website if I navigate to Licenses tab and select "SAP COMPOSABLE STOREFRONT FSA" the Repository endpoint is showing different for me: https://73554900100900007551.npmsrv.base.repositories.cloud.sap
So I changed .npmrc URL to that new endpoint and now It's returning 404 - Not Found to Package '@spartacus/schematics':
My .npmrc file is like that:
@spartacus:registry=https://73554900100900007551.npmsrv.base.repositories.cloud.sap/
//73554900100900007551.npmsrv.base.repositories.cloud.sap/:_auth=<NPM_GENERATED_CREDENTIAL>
always-auth=true<br>
Do you know how can I solve this problem?
Regards,
William Morais
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohan, rohan_luthra3094
It looks like you might be using a wrong credential, please could you reach out to the RBSC service team to resolve the issue. You can either raise a support ticket or join the Slack channel by following Help and Support | SAP Internet Facing Repository Services (cloud.sap)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohan, rohan_luthra3094
I just verified @spartacus/schematics@5.2.0 is working fine on my end, I guess you might be using a wrong credential in the .npmrc file, or a wrong format of the file.
Please see attached my .npmrc file and the package.json file for your reference. npmrc.txtpackagejson.txt
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi samuel.yang,
Thanks for providing the files, I have tried but getting some permission issues.
\spartacus5>ng add @spartacus/schematics@5.2.0
i Using package manager: npm
× Unable to fetch package information for '@spartacus/schematics@5.2.0': 403 Forbidden - GET https://73554900100900004337.npmsrv.base.repositories.cloud.sap/@spartacus%2fschematics
User | Count |
---|---|
3 | |
1 | |
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.