Open Essi5764 opened 3 years ago
I got a problem before like that. thank you @Essi5764
I am still getting network error, please any help. This is the error below. Thanks Uncaught (in promise) Error: Network Error at createError (createError.js:16) at XMLHttpRequest.handleError (xhr.js:99)
can you drop the code?
I am still getting network error, please any help. This is the error below. Thanks Uncaught (in promise) Error: Network Error at createError (createError.js:16) at XMLHttpRequest.handleError (xhr.js:99)
Hello Muftinet, I tried to find the project on your repo but I cannot get into the folder to see the code. This is how I fixed mine. Go to client folder>src>components>Auth.jsx. Make sure your url is like this: const URL = 'http://localhost:5000/auth';
I can attempt to help you further once I can see your code.
I also problem the same. I sure that I fixed URL. Please any help me. Uncaught (in promise) Error: Network Error at createError (createError.js:16) at handleError (xhr.js:117)
Thank you.
client/src/components/Auth.jsx
On line 31 const URL = 'https://localhost:5000/auth';
This generates a network error.
SHOULD BE : const URL = 'http://localhost:5000/auth';
Thanks for an awesome tutorial.
thank you brother
even when i edited the https to http .. i'm still getting this error
xhr.js:177 POST http://localhost:5000/auth/signup net::ERR_CONNECTION_REFUSED createError.js:16 Uncaught (in promise) Error: Network Error at createError (createError.js:16:1) at XMLHttpRequest.handleError (xhr.js:84:1)
xhr.js:177 POST http://localhost:5000/auth/signup net::ERR_CONNECTION_REFUSED createError.js:16 Uncaught (in promise) Error: Network Error at createError (createError.js:16:1) at XMLHttpRequest.handleError (xhr.js:84:1)
Hi bro, try replacing your Avatar URL by copying the address of the image to the right of your sign up form and pasting it in the Avatar URL input in the from and submit. See if that works. Looks like the error may be coming from trying to find the image for the avatar. Take care
i fetch the data but there is something block it to communicate with the network. so i think it's a back end part
i fetch the data but there is something block it to communicate with the network. so i think it's a back end part
Hey.. I was having the same issue, While filling the signup form just copy an image URL from free stock image or any reliable URL the app will work 😊
Hi, i'm new in react and has been following the same tutorial. I also ran in into the same issue with "POST http://localhost:5000/auth/true%20?%20%27signup%27%20:%20%27login%27} 404 (Not Found)" and Axios Error. I don't know if anyone has fixed the issue. Thank you
Hi, I am new to reactjs. I am having the same problem and your links are broken. I can't get to them. Any help would be appreciated.
use this in index.js
const authRoutes = require('./routes/auth.js');
app.use('/auth', authRoutes);
I am still getting this issue even tho I did everything correct.
Here is the issue: Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Uncaught (in promise) Error: Request failed with status code 500 at createError (createError.js:16:1) at settle (settle.js:17:1) at XMLHttpRequest.onloadend (xhr.js:66:1)
client/src/components/Auth.jsx
On line 31 const URL = 'https://localhost:5000/auth';
This generates a network error.
SHOULD BE : const URL = 'http://localhost:5000/auth';
Thanks for an awesome tutorial.