Error installing React Iconly Icons in next js 13, React 18.2.0
daneseuwu opened this issue · 0 comments
npm resolution error report
2023-03-20T04:36:06.377Z
While resolving: appjs@0.1.0
Found: react@18.2.0
node_modules/react
react@"18.2.0" from the root project
Could not resolve dependency:
peer react@"^16.8.6 || ^17" from react-iconly@2.2.5
node_modules/react-iconly
react-iconly@"*" 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": "18.2.0",
"whileInstalling": {
"name": "appjs",
"version": "0.1.0",
"path": "C:\Users\username\Desktop\appjs"
},
"location": "node_modules/react",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "react",
"spec": "18.2.0",
"from": {
"location": "C:\Users\username\Desktop\appjs"
}
}
]
},
"currentEdge": {
"type": "prod",
"name": "react",
"spec": "18.2.0",
"from": {
"location": "C:\Users\username\Desktop\appjs"
}
},
"edge": {
"type": "peer",
"name": "react",
"spec": "^16.8.6 || ^17",
"error": "INVALID",
"from": {
"name": "react-iconly",
"version": "2.2.5",
"whileInstalling": {
"name": "appjs",
"version": "0.1.0",
"path": "C:\Users\username\Desktop\appjs"
},
"location": "node_modules/react-iconly",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "react-iconly",
"spec": "*",
"from": {
"location": "C:\Users\username\Desktop\appjs"
}
}
]
}
},
"strictPeerDeps": false,
"force": false
}