social_media_app icon indicating copy to clipboard operation
social_media_app copied to clipboard

Followed along tutorial, now everything is black on sign-up

Open Mussgrossoos opened this issue 1 year ago • 2 comments

So I was working along line for line character for character, but then happened something that didn't happen in the video. As we consoleloged the asnyc function onSubmit everything went right. But Asap I switched to the local host and provided faked account infos to check if the console is giving feedback the whole page went black and the error was:

appwrite.js?v=2d49613e:707 Uncaught TypeError: Cannot read properties of undefined (reading 'replace') at Client.setEndpoint (appwrite.js?v=2d49613e:707:89) at config.ts:11:8

If someone can help me please do it!

Mussgrossoos avatar Dec 29 '23 15:12 Mussgrossoos

I have same error

Akolapo avatar Jan 14 '24 01:01 Akolapo

I got this issue resolved by moving the .env.local file out of the src folder

Samrudh713 avatar Apr 07 '24 00:04 Samrudh713