Open nidzammst opened 10 months ago
I am having this same error too
There was something wrong with the AccountProfile.tsx file. I changed it by copying the code from the repository and now the error has resolved
That's an error with the MONGODB_URL password. Do not use characters like # @ $ etc., instead, use auto-generated password to avoid errors.
MongoDB connection already established ⨯ lib/actions/user.actions.ts (44:11) @ updateUser ⨯ Error: Failed to create/update user: Cannot read properties of undefined (reading 'findOneAndUpdate') at updateUser (./lib/actions/user.actions.ts:38:19) 42 | } 43 | } catch (error: any) {