alinalb
(Alinalb)
March 7, 2025, 8:29pm
1
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
```
pawlean
(Pauline P. Narvas)
March 7, 2025, 9:08pm
2
Hi, Alina! Welcome to the Vercel Community
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.
If you’re here for help with an error or issue, there are a few things you can do to get good answers as quickly as possible.
Search for similar topics. Using an existing answer is much faster than waiting for new responses.
Include relevant details when asking for help.
Describe your goal and what problem is preventing you from achieving it.
Tell us about the app (i.e. framework, packages, database type).
Include any debugging steps you have already tried so others know what to skip.
A minim…
alinalb
(Alinalb)
March 7, 2025, 9:22pm
3
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.
system
(system)
Closed
June 5, 2025, 9:23pm
4
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.