brianMacao opened a new issue, #23803:
URL: https://github.com/apache/superset/issues/23803

   backgroud: upgrade project to 2.1.0 version
   
   1. Use Webstorm open folder superset-fronted
   2. nvm use 16
   3. npm install
   
   ### 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/[email protected]
   npm ERR! Found: @ant-design/[email protected]
   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/[email protected]
   npm ERR!   packages/superset-ui-chart-controls
   npm ERR!     @superset-ui/[email protected]
   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/[email protected]
   npm ERR! plugins/plugin-chart-pivot-table
   npm ERR!   @superset-ui/[email protected]
   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/[email protected]
   npm ERR! node_modules/@ant-design/icons
   npm ERR!   peer @ant-design/icons@"^4.2.2" from 
@superset-ui/[email protected]
   npm ERR!   plugins/plugin-chart-pivot-table
   npm ERR!     @superset-ui/[email protected]
   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
   
   - superset version: 2.1.0
   - python version: 3.10
   - node.js version: 16.14.2
   
   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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to