-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't seem to import library #18
Comments
@anirudhsama this library doesn't contain CJS code, just ESM: Lines 60 to 70 in 42a722e
Maybe your bundler expects it to be CJS? |
Oh that might be the case. I'm using it in a Nextjs Edge runtime. |
I can only import it like this: |
Still running into this. package export is broken. |
I have the same problem |
I have the same problem. @maccman's import helped me get the library working though. |
It might be related to how the exports are defined in package.json? Top-level
|
Same issue here. Looks like there is a pending PR with a fix & few more issues opened all referencing this problem. Can this be fixed? Do you need help with that? |
Likewise, still having this issue with types being missing. |
Hi,
Im trying to import the library using
import { getAccessToken } from "web-auth-library/google";
but I'm getting any errorWhat am I doing wrong?
The text was updated successfully, but these errors were encountered: