Error occurred while parsing your function triggers

143 views
Skip to first unread message

Himanshu Kumar

unread,
Aug 31, 2021, 10:32:36 AM8/31/21
to Firebase Google Group
Hi,
I am constantly getting this error message while deploying my cloud function. The error is like this: 
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in <path>\functions\node\modules\firebase\package.json.
I'm using firebase admin-sdk along with express.js for writing cloud functions. I have initialized admin using admin.initializeApp() and config using firebase.initializeApp(config).
Can anyone help me with this?

Thanks,
Himanshu
Reply all
Reply to author
Forward
0 new messages