Open viditpagi123 opened 8 months ago
well a solution that works is you have to downgrade your appwrite, just go to terminal and run the following command - npm install appwrite@13.0.2 It'll work, had the same issue as you
Yup did the same and it's working fine now
On Thu, Mar 21, 2024, 11:11 PM Chirag-2003 @.***> wrote:
well a solution that works is you have to downgrade your appwrite, just go to terminal and run the following command - npm install @.*** It'll work, had the same issue as you
— Reply to this email directly, view it on GitHub https://github.com/adrianhajdin/social_media_app/issues/48#issuecomment-2013153147, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATTZBZRFRFP5Q7YPIO3ZXCLYZMLUFAVCNFSM6AAAAABE7NCNJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJTGE2TGMJUG4 . You are receiving this because you authored the thread.Message ID: @.***>
well a solution that works is you have to downgrade your appwrite, just go to terminal and run the following command - npm install appwrite@13.0.2 It'll work, had the same issue as you
Bro Posts are not getting saved in appwrite
In AuthLayout.tsx page side-img.svg is not working. Can you please help me to solve this issue?
Appwrite has been updated so the former
account.createEmailSession(user.email, user.password)
has change to
account.createEmailPasswordSession(user.email, user.password)
.
so the updated code for signInAccount in the api.ts file will be
export async function signInAccount(user: {email: string; password: string;}) {
try {
const session = await account.createEmailPasswordSession(user.email, user.password);
return session;
} catch (error) {
console.log(error);
return error;
}
}
Mine works, you can check this link for reference https://github.com/anantiikenna/socio_max
@anantiikenna Saw it .. i noticed you changed the theme color from lavender to orange .. its cool
Thanks
@anantiikenna, editor isn't recognizing createEmailPasswordSession
mine uses the updated Appwrite v14.0.1 and kindly share the error message it generated on your console.
While Done with the signin and signup part after doing both activities its giving failed to sign in and Signup