Skip to content

[Bug] npm install fails #8

Closed
@brilang

Description

@brilang

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

  1. Download notus-nextjs-master.zip from the Notus NextJS page
  2. Extract to directory (in my case, C:\Users\brila\Projects\fvcb4)
  3. Run npm install in project directory
  4. 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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions