ONDC-Official / ondc-sdk

MIT License
36 stars 37 forks source link

Error: Cannot find module '/config/dev/firebase-service-account.json' or its corresponding type declarations. #21

Open anish-9999 opened 9 months ago

anish-9999 commented 9 months ago

Hey guys,

I am trying to run the sdk on my local system which throws the following error

Screenshot 2023-11-22 at 3 39 00 PM

I have created a firebase service and pasted the API keys from the config file in .env-local file and I have created the file firebase-service-account.json in /config/dev/.

Can anyone help me with this error?

Thanks.

pratik-mazumdar commented 9 months ago

You will need to add firebase-service-account.json file in biap-igm-node-js/config/dev folder. Which you will need to create on your own. Firebase-service-account.json file can be found in, firebase console->your_project -> project_settings -> service accounts -> Generate new private key.