Skip to content

Using Next.js 16 with firebase-admin #3151

@ZoltanTelus

Description

@ZoltanTelus

Hello,

I'm using Firebase to host my next 16.2.6 application.

When firebase-admin is installed, I'm unable to deploy:

[2026-05-18T08:04:51.892Z] Error: EPERM: operation not permitted, symlink 'C:\web-app\node_modules\firebase-admin' -> 'C:\web-app.firebase\testproject-eb4a2\functions.next\node_modules\firebase-admin-a14c8a5423a75469'
Error: An unexpected error has occurred.

I understand that it tries to create a symlink, but I'm unable to execute this as I'm not an admin of my laptop, and we have the same problem for my whole team.

It would like to avoid creating symlink, and deploy my app the old way... it worked fine with next.15.

Please help me how to properly deploy next.16 with firebase-admin installed.

Thank you!
Zoltán

Dependencies:
...
"firebase": "^12.13.0",
"firebase-admin": "^13.10.0",
"next": "^16.2.6",
"react": "^19.2.6",
"react-dom": "^19.2.6",
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions