Closed dcts closed 1 year ago
This issue does not seem to follow the issue template. Make sure you provide all the required information.
This was caused due to dependency conflicts. Updating firebase-admin to greater than 10.0.0 or 11.0.0 using below command fixed the issue:
npm i --save firebase-admin@10.3.0
Environment info
firebase-tools: 11.29.1
Platform: Linux, Ubuntu 22.04
Updating firebase-functions from ^3.19.0 to ^4.3.1 leads to
Cannot find module 'firebase-admin/auth'
After updating a project that has not been touched for at least 1 year, I had to upgrade firebase functions to the latest version. After trying to deploy with the latest firebase tools, the following error appeared:
I removed all
require
statements and tried to deploy this minimal index.js file, but the same error appeared:Minimal index.js (same error)
Debug logs