Skip to content

Can't use package with esm compilation #278

Open
@rafagsiqueira

Description

@rafagsiqueira

I am getting the following error when using this package.

Failed to resolve entry for package "@nativescript/firebase-core". The package may have incorrect main/module/exports specified in its package.json.

Am I importing it wrongly? Please advise.

import { firebase } from '@nativescript/firebase-core'

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