Skip to content
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

cannot import AuthKitProvider #169

Open
chamini2 opened this issue Jan 13, 2025 · 7 comments
Open

cannot import AuthKitProvider #169

chamini2 opened this issue Jan 13, 2025 · 7 comments

Comments

@chamini2
Copy link

the docs suggest importing from import { AuthKitProvider } from '@workos-inc/authkit-nextjs/components'; and it is not working for me

@PaulAsjes
Copy link
Contributor

Can you confirm which version of authkit-nextjs you're using?

@fierysolid
Copy link

This is happening in 1.0.1 with all components. None of them are exported from the default export anymore.

Screenshot 2025-01-14 at 1 46 57 PM

@PaulAsjes
Copy link
Contributor

Are you seeing errors when trying to run the dev server or is it TypeScript complaining?

@fierysolid
Copy link

This is just typescript

@samueltuyizere
Copy link

A walk-around for me was to add "moduleResolution":"bundler" in compilerOptions in the tsconfig.json file

@fierysolid
Copy link

I tried that and while it does fix these imports, it also breaks a bunch of others.

@regirock365
Copy link

This is happening in 1.0.1 with all components. None of them are exported from the default export anymore.

Screenshot 2025-01-14 at 1 46 57 PM

I'm also unable to import anything from "@workos-inc/authkit-nextjs/components" as well in "@workos-inc/authkit-nextjs": "^1.1.0". Is this a known issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

5 participants