Greetings! I’m currently trying to deploy my Next.js project and I’m getting this error after setting up a cloud function on firebase:
I’m on an extremely tight deadline so any help is greatly appreciated!
Thank you all.
Greetings! I’m currently trying to deploy my Next.js project and I’m getting this error after setting up a cloud function on firebase:
Hi @amorimstz, welcome to the Vercel Community!
Adding a .vercelignore
file to the root of your project with the following content should solve this issue:
/functions
I found this solution at typescript - Type error: Cannot find module 'firebase-functions' or its corresponding type declarations when deploying in Vercel - Stack Overflow
Please post the outcome in the thread to help others.
thank you very much! That solved it
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.