Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependency error #36

Open
mkhavari01 opened this issue Mar 6, 2022 · 0 comments
Open

dependency error #36

mkhavari01 opened this issue Mar 6, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@mkhavari01
Copy link

i have been working with your library until on my new project it is returning this bug which is about dependency and i can not figure out why

npm resolution error report

2022-03-06T06:03:50.293Z

While resolving: [email protected]
Found: [email protected]
node_modules/react
react@"^17.0.2" from the root project
peer react@"^17.0.2" from @bb-tech/[email protected]
node_modules/@bb-tech/ra-treemenu
@bb-tech/ra-treemenu@"*" from the root project

Could not resolve dependency:
peer react@"^16.3.0" from @material-ui/[email protected]
node_modules/@material-ui/core
peer @material-ui/core@"~1.4.0" from @bb-tech/[email protected]
node_modules/@bb-tech/ra-treemenu
@bb-tech/ra-treemenu@"*" 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": "evolve-panel",
"version": "0.1.0",
"path": "C:\Users\user\Desktop\admin-panel"
},
"location": "node_modules/react",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "react",
"spec": "^17.0.2",
"from": {
"location": "C:\Users\user\Desktop\admin-panel"
}
},
{
"type": "peer",
"name": "react",
"spec": "^17.0.2",
"from": {
"name": "@bb-tech/ra-treemenu",
"version": "1.0.7",
"whileInstalling": {
"name": "evolve-panel",
"version": "0.1.0",
"path": "C:\Users\user\Desktop\admin-panel"
},
"location": "node_modules/@bb-tech/ra-treemenu",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "@bb-tech/ra-treemenu",
"spec": "",
"from": {
"location": "C:\Users\user\Desktop\admin-panel"
}
}
]
}
}
]
},
"currentEdge": {
"type": "prod",
"name": "react",
"spec": "^17.0.2",
"from": {
"location": "C:\Users\user\Desktop\admin-panel"
}
},
"edge": {
"type": "peer",
"name": "react",
"spec": "^16.3.0",
"error": "INVALID",
"from": {
"name": "@material-ui/core",
"version": "1.4.3",
"whileInstalling": {
"name": "evolve-panel",
"version": "0.1.0",
"path": "C:\Users\user\Desktop\admin-panel"
},
"location": "node_modules/@material-ui/core",
"isWorkspace": false,
"dependents": [
{
"type": "peer",
"name": "@material-ui/core",
"spec": "~1.4.0",
"from": {
"name": "@bb-tech/ra-treemenu",
"version": "1.0.7",
"whileInstalling": {
"name": "evolve-panel",
"version": "0.1.0",
"path": "C:\Users\user\Desktop\admin-panel"
},
"location": "node_modules/@bb-tech/ra-treemenu",
"isWorkspace": false,
"dependents": [
{
"type": "prod",
"name": "@bb-tech/ra-treemenu",
"spec": "
",
"from": {
"location": "C:\Users\user\Desktop\admin-panel"
}
}
]
}
}
]
}
},
"strictPeerDeps": false,
"force": false
}

@mkhavari01 mkhavari01 added the bug Something isn't working label Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant