Firebase-admin problem
Unanswered
Burmese posted this in #help-forum
BurmeseOP
I am trying to use the firebase-admin sdk inside an edge route handler that i have created. The problem is that this sdk is designed to run on a node.js server environment and therefore requires a lot of modules that are not available by default. I have tried everything. I have moved the firebase initialization code to a server action and then called that server action from the route handler. I have used next.config.js to externalize firebase-admin from building in server actions. I have also customized the webpack config from within next.config.js to externalize firebase-admin from the build process. I have no idea what else i can try, any help is appreciated.