Boss machine project link
https://www.codecademy.com/paths/back-end-engineer-career-path/tracks/wdcp-22-build-a-back-end-with-express-js/modules/wdcp-22-boss-machine/informationals/bapi-p4-boss-machine
I download the boss machine project then npm install which errors, what should I do next?
Debug log
# npm resolution error report
2022-04-23T16:53:05.380Z
While resolving: [email protected]
Found: [email protected]
node_modules/redux
dev redux@"^3.7.2" from the root project
Could not resolve dependency:
peer redux@"^4" from [email protected]
node_modules/redux-thunk
dev redux-thunk@"^2.2.0" from the root project
Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
Raw JSON explanation object:
{
"code": "ERESOLVE",
"current": {
"name": "redux",
"version": "3.7.2",
"whileInstalling": {
"name": "build-apis-boss-machine",
"version": "1.0.0",
"path": "/Users/someUser/projects/codecademy/bossMachine"
},
"location": "node_modules/redux",
"isWorkspace": false,
"dependents": [
{
"type": "dev",
"name": "redux",
"spec": "^3.7.2",
"from": {
"location": "/Users/someUser/projects/codecademy/bossMachine"
}
}
]
},
"currentEdge": {
"type": "dev",
"name": "redux",
"spec": "^3.7.2",
"from": {
"location": "/Users/someUser/projects/codecademy/bossMachine"
}
},
"edge": {
"type": "peer",
"name": "redux",
"spec": "^4",
"error": "INVALID",
"from": {
"name": "redux-thunk",
"version": "2.4.1",
"whileInstalling": {
"name": "build-apis-boss-machine",
"version": "1.0.0",
"path": "/Users/someUser/projects/codecademy/bossMachine"
},
"location": "node_modules/redux-thunk",
"isWorkspace": false,
"dependents": [
{
"type": "dev",
"name": "redux-thunk",
"spec": "^2.2.0",
"from": {
"location": "/Users/someUser/projects/codecademy/bossMachine"
}
}
]
}
},
"strictPeerDeps": false,
"force": false
}