NurramoX opened a new issue, #26352: URL: https://github.com/apache/superset/issues/26352
When attempting to use the Yeoman generator @superset-ui/superset for creating a custom Superset plugin, an error occurs stating that the current environment does not provide some necessary feature that the generator needs. The error message doesn't tell exactly which feature it needs... This issue arises after following the steps provided in the [Preset blog](https://preset.io/blog/building-custom-viz-plugins-in-superset-v2/) for building custom visualization plugins in Superset. The expected behavior is to receive a prompt from the generator asking a few questions, but instead, an error is encountered. #### How to reproduce the bug ``` npm i -g yo cd superset-frontend/packages/generator-superset npm i && npm link mkdir /tmp/superset-plugin-chart-hello-world cd /tmp/superset-plugin-chart-hello-world yo @superset-ui/superset ``` ### Expected results The generator should prompt the user with questions to set up the new Superset plugin. ### Actual results An error message is displayed: ` Error @superset-ui/superset Current environment doesn't provide some necessary feature this generator needs.` ### Environment - Debian Version: Debian 12 - superset version: 3.0.2 - node.js version: 16.20.2 ### Checklist - [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [ ] I have reproduced the issue with at least the latest released version of superset. - [x] I have checked the issue tracker for the same issue and I haven't found one similar. ### Additional context Downgrading Yeoman to version 4 (npm i -g yo@4) resolves the issue. It seems that the current version of @superset-ui/superset generator may not be compatible with Yeoman version ^5.0.0. -- 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]
