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

webpack-cli throws 'Unknown option' error when using --superset arg #19743

Closed
3 tasks done
jdbranham opened this issue Apr 16, 2022 · 1 comment · Fixed by #19744
Closed
3 tasks done

webpack-cli throws 'Unknown option' error when using --superset arg #19743

jdbranham opened this issue Apr 16, 2022 · 1 comment · Fixed by #19744
Labels
#bug Bug report

Comments

@jdbranham
Copy link
Contributor

A clear and concise description of what the bug is.

How to reproduce the bug

  1. execute the example command from -
    https://github.com/apache/superset/blob/master/CONTRIBUTING.md#webpack-dev-server
npm run dev-server -- --superset=https://my-superset

Expected results

Webpack dev server should proxy to the remote superset backend.

Actual results

Error is thrown -
[webpack-cli] Error: Unknown option '--superset=https://my-superset'

Environment

  • browser type and version: Chrome [NA]
  • superset version: master
  • python version: 3.9.10
  • node.js version: v16.14.2
  • any feature flags active: none

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • 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.
  • I have checked the issue tracker for the same issue and I haven't found one similar.
@vivostar
Copy link

vivostar commented Jul 6, 2022

@jdbranham wow! thanks for your contribution, your patch fix my building dev enviroment problem. I think the patch should be merged into Main Branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants