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

DeprecationWarning while booting Webpack dev server #613

Closed
1 of 4 tasks
psrok1 opened this issue May 26, 2022 · 0 comments · Fixed by #741
Closed
1 of 4 tasks

DeprecationWarning while booting Webpack dev server #613

psrok1 opened this issue May 26, 2022 · 0 comments · Fixed by #741
Labels
status:locked Locked by external condition (e.g. waiting for dependency fix) type:bug Something isn't working zone:environment Tasks related with development environment or production environment setup

Comments

@psrok1
Copy link
Member

psrok1 commented May 26, 2022

Environment information

  • MWDB version (from /about): v2.8.0 (next)
  • Installation method:
    • mwdb.cert.pl service
    • From PyPi (pip install mwdb-core)
    • From docker-compose (development one)
    • Other (please explain)
  • Plugins installed:

Behaviour the bug (what happened?)

mwdb-web_1  | (node:26) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
mwdb-web_1  | (Use `node --trace-deprecation ...` to show where the warning was created)
mwdb-web_1  | (node:26) [DEP_WEBPACK_DEV_SERVER_ON_BEFORE_SETUP_MIDDLEWARE] DeprecationWarning: 'onBeforeSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option.
mwdb-web_1  | Starting the development server...

Webpack dev server is reporting DeprecationWarnings while using docker-compose-dev.yml. It's not really a bug but can be distracting during development.

We're waiting for create-react-app fix: facebook/create-react-app#11860

Expected behaviour

No deprecation warnings during web-dev server booting.

@psrok1 psrok1 added type:bug Something isn't working status:locked Locked by external condition (e.g. waiting for dependency fix) zone:environment Tasks related with development environment or production environment setup labels May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:locked Locked by external condition (e.g. waiting for dependency fix) type:bug Something isn't working zone:environment Tasks related with development environment or production environment setup
Projects
None yet
1 participant