adrianhajdin / social_media_app

Build a modern social app with a stunning UI with a native mobile feel, a special tech stack, an infinite scroll feature, and amazing performance using React JS, Appwrite, TypeScript, and more.
https://jsmastery.pro
1.26k stars 381 forks source link

Error at account creation followed by message TypeError: Failed to construct 'URL': Invalid URL #34

Open Hrishi0304 opened 10 months ago

Hrishi0304 commented 10 months ago

I followed your tutorial and i got this error below Screenshot 2024-01-14 183103 Screenshot 2024-01-14 183126

Akolapo commented 10 months ago

i encountered this error as well

Hrishi0304 commented 10 months ago

I have solve this problem again actually I got to know that this was an .env.local file error, the line import.meta.env.VITE_APPWRITE_PROJECT_ID was not working I don't know why,

Temporary solution is you have to replace that line [import.meta.env.] with original value of projectId

On Mon, Jan 15, 2024 at 2:11 AM Akolapo @.***> wrote:

i encountered this error as well

— Reply to this email directly, view it on GitHub https://github.com/adrianhajdin/social_media_app/issues/34#issuecomment-1891066755, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT5US3WMRIHKDAINDXCAQD3YOQ7I3AVCNFSM6AAAAABB2C3H7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJRGA3DMNZVGU . You are receiving this because you authored the thread.Message ID: @.***>

Akolapo commented 10 months ago

Screenshot (33) what could be causing this issue

fencesitter1 commented 8 months ago

thanks,i have solved this problem with the method you proposed.