Click here to Skip to main content
16,022,060 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
inside the console of port 5173(where frontend is running) [DOM] Found 2 elements with non-unique id #email: <input class=​" w-100" type=​"text" id=​"email" name=​"email" value>​ <input class=​" w-100" type=​"text" id=​"email" name=​"email" value=​"demo@gmail.com">​Understand this warning e-commerce/#/login_register:1 [DOM] Found 2 elements with non-unique id #password: <input class=​" w-100" type=​"password" id=​"password" name=​"password" value>​ <input class=​" w-100" type=​"password" id=​"password" name=​"password" value=​"122333">​Understand this warning :5000/auth/register:1

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

on port 5000 console(where backend is running):

Failed to load resource: the server responded with a status of 404 (Not Found)


What I have tried:

ive tried solving but ended messsing up, then i decided to restart in a hope that it might work but the same error persist
Posted

Quote:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
The code on the server encountered an error. You will need to examine the application logs, or debug the code, to find out what the error is before you can try to fix it.
Quote:
Failed to load resource: the server responded with a status of 404 (Not Found)
The code on the client made a request for a URL that doesn't exist on the server. You will need to examine the network request in your browser's developer tools, and then debug your routing on the server to find out why it couldn't be mapped to the expected resource.
 
Share this answer
 
Your code shows that you have the same id used in two input fields. When you look at your code, you have two entries with this:
HTML
<input class=" w-100" type="text" id="email" name="email" value><input class=" w-100" type="text" id="email" name="email" value="demo@gmail.com">
Either remove one of these input fields, or change the id to a different one. We can't tell you which one to choose because we don't know what you are trying to put the email into in the form.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900