Closed gbowne1 closed 9 months ago
I also noticed that while I had not entered my test users password etc into the login panel and clicked login.. I was not able to navigate manually away from localhost route.
Once I clicked login button after entering my test users details.. was able to manually enter /login after localhost and the app displayed but now not able to use the app and Login panel still displays.
Consider making the Login panel a separate component
@Sky-De @jarmentor @Amrani-Farouk-Hossam-Eddine
It also says
Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Resource URL: null
Source Map URL: react_devtools_backend_compact.js.map
somewhere I also saw:
No routes matched location "/login" history.ts:501
I think this is because the login component is hitting the client on port 3000 and not [the server] on 3001. I'll look into this.
Describe the bug
Maybe it's just me but I am getting
XHR POST http://localhost:3000/login in the browser console
with a 404 Not Found ERR_BAD_REQUEST in the Axios POST json it returns.
To Reproduce Steps to reproduce the behavior:
npm start
twitchbot
database/collectionnode app.js responds with:
node server.js responds with:
Firefox linux x64/amd64 latest browser console shows a Axios error 404 and bad request when navigated to the localhost:3000. Did not check Chrome. FF network tab shows four (4) 404's for the login POST request. Have my test users credentials typed into the
Expected behavior Not really sure.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.