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

change PrismaAdapter import #150

Closed
wants to merge 1 commit into from
Closed

change PrismaAdapter import #150

wants to merge 1 commit into from

Conversation

roy2554
Copy link

@roy2554 roy2554 commented Jul 13, 2022

prevent TypeError: _next_auth_prisma_adapter__WEBPACK_IMPORTED_MODULE_2___default(...) is not a function error

@vercel
Copy link

vercel bot commented Jul 13, 2022

Someone is attempting to deploy a commit to a Personal Account owned by @huv1k on Vercel.

@huv1k first needs to authorize it.

@huv1k
Copy link
Owner

huv1k commented Jul 13, 2022

We should pin the version of the adapter, could you please do it? 🙏

@roy2554
Copy link
Author

roy2554 commented Jul 13, 2022

the adapter's version is 1.0.3
"@next-auth/prisma-adapter": "^1.0.3"

@huv1k
Copy link
Owner

huv1k commented Jul 14, 2022

Yea, could you please create a file .npmrc in root and add there save-exact=true like here https://github.com/huv1k/website/blob/master/.npmrc and then run yarn add @next-auth/prisma-adapter so we install the latest version and it's pinned to this exact version you mentioned? It would help a lot 🙌

@huv1k
Copy link
Owner

huv1k commented Jul 31, 2022

This was fixed in #156

@huv1k huv1k closed this Jul 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants