Unable to locate "@convex-dev/auth/providers/Password" in react native
I currently was following the Password Auth tutorial for react native and the only file in "@convex-dev/auth/providers" is a package.json file. How can I add the Password file to it?
I already followed the initial setup tutorial and installed all the stated dependencies.
6 Replies
Are you having issues with your bundler or at runtime with the import? Could you share the error you're hitting?
It just happened suddenly... I must have done something 🤔
I'm not sure what's causing your issue, but sharing https://github.com/get-convex/expo-convex-auth which is an example app of Expo + Convex Auth (including the Password provider). Perhaps comparing them will help -- also curious if you get the same build error with that demo app
GitHub
GitHub - get-convex/expo-convex-auth: Example app of Expo + Convex ...
Example app of Expo + Convex Auth. Contribute to get-convex/expo-convex-auth development by creating an account on GitHub.
It works in the demo app, and the package is the same, so I must have changed something (it used to work).
Found it.
I was messing around with type completion trying to find a user/auth hook, I had this import in a component:
and I had it invoked on a line:
That caused the error. 😮💨
Thanks for your reply 🙇🏻♂️