wang-valdanito-chao opened a new issue, #21049:
URL: https://github.com/apache/superset/issues/21049

   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1. I start the frontend according to [this 
post](https://preset.io/blog/tutorial-contributing-code-to-apache-superset/#setting-up-your-local-development-environment-frontend).
   2. I passed two parameters:
   ```
   npm run dev-server -- --devserverPort=9001 
--supersetUrl=http://127.0.0.1:8088
   ```
   3. Terminal output error:
   ```
   > [email protected] dev-server
   > cross-env NODE_ENV=development BABEL_ENV=development node 
--max_old_space_size=4096 
./node_modules/webpack-dev-server/bin/webpack-dev-server.js --mode=development 
"--devserverPort=9001" "--supersetUrl=http://127.0.0.1:8088";
   
   [webpack-cli] Error: Unknown option '--devserverPort=9001'
   [webpack-cli] Run 'webpack --help' to see available commands and options
   ```
   
   ### Expected results
   
   The frontend starts success and the passed parameters take effect.
   
   ### Actual results
   
   ```
   [webpack-cli] Error: Unknown option '--devserverPort=9001'
   ```
   
   ### Environment
   
   - superset version: `1.5.1`
   - python version: `miniconda  python 3.8.12`
   - node.js version: `v16.15.1`
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [x] 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.
   
   


-- 
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