Skip to content

npm run publish giving error #6

@shivam-mck

Description

@shivam-mck

Hello. So whenever I run npm run publish, I get the following error

module.exports = firebase-admin;
^
ReferenceError: firebase is not defined
at firebase-admin (/Users/Shivam_Agarwal/mck-work/paperbits/dist/publisher/index.js:21307:18)

So on opening the file, this is the line I get the error:
"use strict";
module.exports = firebase-admin;

It is basically interpreting firebase-admin as firebase minus admin. I have not been able to find any fix yet.

I understand that your team receives numerous inquiries, and I greatly appreciate your attention to my specific concern. If there are any log files, error messages, or additional information you require from my end to assist with the investigation, please let me know, and I will gladly provide them promptly.

Thank you once again for your continued commitment to providing exceptional support to the GitHub community. I look forward to your response and the opportunity to resolve this matter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions