Skip to content

rxfire/auth/index.esm.js:1 seems to be an ES Module but shipped in a CommonJS package #129

@chriscurnow

Description

@chriscurnow

I'm getting this error in an Angular/Nx/Firebase project.

The error goes on to say:

You might want to create an issue to the package "rxfire" asking them to ship the file in .mjs extension or add "type": "module" in their package.json.

This works if I modify the package.json file in my node_modules directory but its not going to work when I run a CI build remotely.

I could provide a whole lot more information but it seems like a simple fix.

Am I missing something?

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