-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
fail to npm install on superset-frontend at 2.1 version #23803
Comments
i get the same problem +1 |
Are you both using Windows? |
Yes, I use the windows. In the master branch , the frontend is builded successfully , but it get this error in the branch 2.1 |
Yes, i have the same problem, i have pull the master branch before and run stable. but after upgrade to 2.1, the backend is stable but frontend is fail to build. |
can you try running |
Closing this as stale since it's been silent for so long, and because we don't officially support Windows. We're trying to steer toward a more actionable Issues backlog, but if people are still encountering this in current versions (currently 3.x) we can consider re-opening this issue, opening a new Issue with updated context, or you're welcome to raise a PR to address the problem. Thanks! |
backgroud: upgrade project to 2.1.0 version
Expected results
E:\python_project\superset\superset-frontend>nvm use 16
Now using node v16.14.2 (64-bit)
E:\python_project\superset\superset-frontend>npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @superset-ui/plugin-chart-pivot-table@2.1.0
npm ERR! Found: @ant-design/icons@5.0.1
npm ERR! node_modules/@ant-design/icons
npm ERR! @ant-design/icons@"^5.0.1" from the root project
npm ERR! peer @ant-design/icons@"^5.0.1" from @superset-ui/chart-controls@2.1.0
npm ERR! packages/superset-ui-chart-controls
npm ERR! @superset-ui/chart-controls@2.1.0
npm ERR! node_modules/@superset-ui/chart-controls
npm ERR! workspace packages\superset-ui-chart-controls from the root project
npm ERR! 26 more (@superset-ui/legacy-plugin-chart-calendar, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @ant-design/icons@"^4.2.2" from @superset-ui/plugin-chart-pivot-table@2.1.0
npm ERR! plugins/plugin-chart-pivot-table
npm ERR! @superset-ui/plugin-chart-pivot-table@2.1.0
npm ERR! node_modules/@superset-ui/plugin-chart-pivot-table
npm ERR! workspace plugins\plugin-chart-pivot-table from the root project
npm ERR!
npm ERR! Conflicting peer dependency: @ant-design/icons@4.8.0
npm ERR! node_modules/@ant-design/icons
npm ERR! peer @ant-design/icons@"^4.2.2" from @superset-ui/plugin-chart-pivot-table@2.1.0
npm ERR! plugins/plugin-chart-pivot-table
npm ERR! @superset-ui/plugin-chart-pivot-table@2.1.0
npm ERR! node_modules/@superset-ui/plugin-chart-pivot-table
npm ERR! workspace plugins\plugin-chart-pivot-table from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See E:\nodejs\node_cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! E:\nodejs\node_cache_logs\2023-04-25T03_31_44_646Z-debug-0.log
Actual results
i have try to npm --force install, but it's also fail to update module.
Environment
thanks for your help and opinion. I don't have much experience on frontend, may be it's not clearly description and plz help me to clarify problem.
The text was updated successfully, but these errors were encountered: