i am getting an error as "Cannot set headers after they are sent to the client" in node js connected to mysql
i was tring to create a signup form connecting react to the backend using node.js. it worked fine, but now i am facing problems as Cannot set headers after they are sent to the client when the username is correct…