cancel
Showing results for 
Search instead for 
Did you mean: 

spartacus schematics library 404 Not Found error

rohan_luthra94
Explorer
0 Kudos

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

romitchhabra
Participant

Hi Rohan,

I hope you have created .npmrc file. Please verify the content of .npmrc file that it should be in the format as specified in the link shared.

Regards,

Romit Chhabra

rohan_luthra94
Explorer
0 Kudos

Hi romit.c

Yes, I did create and checked all formatting as well, Still, there is no change in error.

If your format is working could you please send it to me so I can try it with my credentials?

View Entire Topic
samuelyang
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

rohan_luthra94
Explorer
0 Kudos

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