Replies: 1 comment
-
I am still unable to find the solution to this. I cloned the example repo and got the same results. Any help would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Error Message is:
[ERR_PACKAGE_PATH_NOT_EXPORTED] Package subpath './providers/github' is not defined by "exports" in ...node_modules\next-auth\package.json
I am using next-auth v4.3.1. Originally I was trying to add next-auth to my existing project using the Okta provider. When I got this error, I tried troubleshooting by creating a completely new project and following this tutorial. (Presumably, you could reproduce by following the same tutorial)?
After searching online it seems like this is exclusive to me though so I'm not sure what mistake I'm making. I even checked the node_modules/next-auth/package.json and it looks correct (screenshot below):

Here is what [...nextauth].js file contains:

Appreciate the help!
Beta Was this translation helpful? Give feedback.
All reactions