Falied to Deploy- Firebase

Failed to deploy error:

Type error: Cannot find module '../../firebase-service-account.json' or its corresponding type declarations.
  1 |
  2 |   import * as admin from 'firebase-admin';
> 3 |   import * as serviceAccount from '../../firebase-service-account.json';
    |                                   ^
  4 |   
  5 |   if (!admin.apps.length) {
  6 |     admin.initializeApp({
Next.js build worker exited with code: 1 and signal: null
Error: Command "npm run build" exited with 1
```

Hi, Alina! Welcome to the Vercel Community :waving_hand:

Have you checked out our Firebase Examples? Could you try deploying them and perhaps cross-checking what works/doesn’t?

I’d also recommend taking a look at this post. Would help to get more information on your project so we can try to reproduce.

Thanks, I’m using a 3rd party(Softgen) that’s supposed to be connected to my project already. I’ll connect with this app if they can’t fix the issue.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.