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

dva和react 17版本不兼容问题 #2453

Closed
jacktang opened this issue Jul 17, 2021 · 3 comments
Closed

dva和react 17版本不兼容问题 #2453

jacktang opened this issue Jul 17, 2021 · 3 comments
Labels

Comments

@jacktang
Copy link

package.json

    "dva-core": "^2.0.4",
    "dva-immer": "^1.0.0",
    "lodash": "4.17.21",
    "mp-html": "^2.1.2",
    "react": "^17.0.0",
    "react-dom": "^17.0.0",
    "react-redux": "^7.2.0",
    "redux": "^4.0.0",

运行 npm i 出现错误

npm WARN ERESOLVE overriding peer dependency
npm WARN Found: react@17.0.2
npm WARN node_modules/react
npm WARN   react@"^17.0.0" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react@"15.x || ^16.0.0-0" from dva@2.5.0-beta.2
npm WARN node_modules/dva
npm WARN   peer dva@"^2.5.0-0" from dva-immer@1.0.0
npm WARN   node_modules/dva-immer
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: react-dom@17.0.2
npm WARN node_modules/react-dom
npm WARN   react-dom@"^17.0.0" from the root project
npm WARN
npm WARN Could not resolve dependency:
npm WARN peer react-dom@"15.x || ^16.0.0-0" from dva@2.5.0-beta.2
npm WARN node_modules/dva
npm WARN   peer dva@"^2.5.0-0" from dva-immer@1.0.0
npm WARN   node_modules/dva-immer
npm WARN ERESOLVE overriding peer dependency
npm WARN Found: react@17.0.2
npm WARN node_modules/react
npm WARN   react@"^17.0.0" from the root project
@stale
Copy link

stale bot commented Oct 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Oct 2, 2021
@samtholiya
Copy link

no this should be fixed

@stale stale bot removed the wontfix label Dec 11, 2021
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Apr 16, 2022
@stale stale bot closed this as completed Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants