ethan0905 / ft_transcendence

Wiki with step-by-step explained strategy on how to: create app (front+back+infra), 42auth, 2FA and more..
2 stars 0 forks source link

(node:38) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning #32

Open ethan0905 opened 1 year ago

ethan0905 commented 1 year ago

package deprecated to fix in the frontend:

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

_Originally posted by @ethan0905 in https://github.com/ethan0905/ft_transcendence/issues/24#issuecomment-1497538987_