Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Doesn't seem to work with @firebase/auth #16

Open
tettoffensive opened this issue Apr 15, 2022 · 0 comments
Open

Doesn't seem to work with @firebase/auth #16

tettoffensive opened this issue Apr 15, 2022 · 0 comments

Comments

@tettoffensive
Copy link

Maybe I'm missing something, but I'm still having issues with firebase

Jest encountered an unexpected token

Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

node_modules/firebase/auth/dist/index.esm.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){export * from '@firebase/auth';
                                                                                      ^^^^^^

    SyntaxError: Unexpected token 'export'

    > 1 | import { getAuth } from 'firebase/auth';
        | ^
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant