jpchev opened a new issue, #32433: URL: https://github.com/apache/superset/issues/32433
### Bug description i've gone through the documentation to create a custom plugin https://superset.apache.org/docs/contributing/howtos/#creating-visualization-plugins but I get the following error `Module not found: Error: Can't resolve 'superset-plugin-chart-hello-world' in '/app/superset-frontend/src/visualizations/presets'` after this command `npm i -S /tmp/superset-plugin-chart-hello-world` btw, this command `yo @superset-ui/superset` gives the following error ``` Running npm install for you to install the required dependencies. npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! peer react@"^17.0.2" from the root project npm ERR! peer react@">=16.0.0" from @ant-design/[email protected] npm ERR! node_modules/@ant-design/icons npm ERR! @ant-design/icons@"^4.7.0" from [email protected] npm ERR! node_modules/antd npm ERR! peer antd@"^4.9.4" from @superset-ui/[email protected] npm ERR! node_modules/@superset-ui/chart-controls npm ERR! peer @superset-ui/chart-controls@"*" from the root project npm ERR! 47 more (@ant-design/react-slick, @emotion/react, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^17.0.2" from the root project npm ERR! npm ERR! Conflicting peer dependency: [email protected] npm ERR! node_modules/react npm ERR! peer react@"^17.0.2" 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. ``` ### Screenshots/recordings _No response_ ### Superset version master / latest-dev ### Python version 3.9 ### Node version 16 ### Browser Chrome ### Additional context _No response_ ### Checklist - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem. - [ ] I have searched the GitHub issue tracker and didn't find a similar bug report. - [ ] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section. -- 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]
