Hello everyone
I’ve finished Boss Machine project. It took me a few days. I did everything, checked with solution code. And my tests pass. But I can’t see anything on the front-end side. It says “Cannot GET /”. I decided to still practice conceptions that we were learning with get, put, post, delete and param. It seems like a problem might be in older version of exercise…
I think this starter code is just broken; for instance, the initial list of 10 minions that gets generated on server start never renders in the browser, yet it comes up without issue if I hit the localhost/api/minions endpoint with Postman. My code exactly matches the solution so I have no idea what could be wrong.
same problem here! at the end my solution was to develop all the routes for the minion Router API, then to test only for that one, and eventually the rendering start to happen. Good luck mate!
Cheers, we need some luck here… I can also confirm that POST, PUT, GET by ID and DELETE all work properly when using Postman. Here’s a strange wrinkle: if I create a new minion in the browser and then delete him, suddenly the original list of random minions renders. I think the geriatric React Redux app packaged in the starter code doesn’t work properly with updated dependencies.
i cant install this project, get the error message: i get this error message when i run npm install on a project: npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/redux
npm ERR! dev redux@“^3.7.2” from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer redux@“^4” from [email protected]
npm ERR! node_modules/redux-thunk
npm ERR! dev redux-thunk@“^2.2.0” from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR!