Description
Version
1.00
Reproduction link
https://github.com/brilang/fvcb4
Operating System
Windows 10 Home 64-bit
Device
Dell Gaming PC, Intel i7-10700F, 32GB memory
Browser & Version
n/a
Steps to reproduce
- Download notus-nextjs-master.zip from the Notus NextJS page
- Extract to directory (in my case, C:\Users\brila\Projects\fvcb4)
- Run npm install in project directory
- Read error messages
What is expected?
npm install should succeed
What is actually happening?
Errors are being generated
Solution
Additional comments
Contents of eresolve-report.txt follows:
npm resolution error report
2021-03-03T02:31:19.430Z
Found: typescript@4.0.3
node_modules/typescript
optional typescript@"4.0.3" from the root project
Could not resolve dependency:
peerOptional typescript@"^3.2.1" from react-scripts@3.4.3
node_modules/react-scripts
react-scripts@"3.4.3" 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": "typescript",
"version": "4.0.3",
"location": "node_modules/typescript",
"dependents": [
{
"type": "optional",
"name": "typescript",
"spec": "4.0.3",
"from": {
"location": "C:\Users\brila\Projects\fvcb4"
}
}
]
},
"edge": {
"type": "peerOptional",
"name": "typescript",
"spec": "^3.2.1",
"error": "INVALID",
"from": {
"name": "react-scripts",
"version": "3.4.3",
"location": "node_modules/react-scripts",
"dependents": [
{
"type": "prod",
"name": "react-scripts",
"spec": "3.4.3",
"from": {
"location": "C:\Users\brila\Projects\fvcb4"
}
}
]
}
},
"peerConflict": null,
"strictPeerDeps": false,
"force": false
}