Skip to content

Error: Could not resolve dependency: peer react@"^15.0.0 || ^16.0.0" from nes-react@1.0.2 node_modules/nes-react nes-react@"*" from the root project #13

Description

@lritter79

From the automatically generated error report:
`

npm resolution error report

2021-10-18T02:09:39.181Z

While resolving: my-portfolio@0.1.0
Found: react@17.0.2
node_modules/react
react@"17.0.2" from the root project

Could not resolve dependency:
peer react@"^15.0.0 || ^16.0.0" from nes-react@1.0.2
node_modules/nes-react
nes-react@"*" 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": "react",
"version": "17.0.2",
"whileInstalling": {
"name": "my-portfolio",
"version": "0.1.0",
"path": "C:\Users\lritter\Source\Repos\my-portfolio"
},
"location": "node_modules/react",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "react",
"spec": "17.0.2",
"from": {
"location": "C:\Users\lritter\Source\Repos\my-portfolio"
}
}
]
},
"currentEdge": {
"type": "prod",
"name": "react",
"spec": "17.0.2",
"from": {
"location": "C:\Users\lritter\Source\Repos\my-portfolio"
}
},
"edge": {
"type": "peer",
"name": "react",
"spec": "^15.0.0 || ^16.0.0",
"error": "INVALID",
"from": {
"name": "nes-react",
"version": "1.0.2",
"whileInstalling": {
"name": "my-portfolio",
"version": "0.1.0",
"path": "C:\Users\lritter\Source\Repos\my-portfolio"
},
"location": "node_modules/nes-react",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "nes-react",
"spec": "*",
"from": {
"location": "C:\Users\lritter\Source\Repos\my-portfolio"
}
}
]
}
},
"strictPeerDeps": false,
"force": false
}

`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions