0

How to resolve this warning: [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE]

$ npm run start > textutils@0.1.0 start > react-scripts start (node:11948) [DEP_WEBPACK_DEV_SERVER_ON_AFTER_SETUP_MIDDLEWARE] DeprecationWarning: 'onAfterSetupMiddleware' option is deprecated. Please use the 'setupMiddlewares' option. Compiled successfully!

9th Dec 2022, 1:30 PM
Asha
Asha - avatar
1 Odpowiedź
+ 2
Have you checked if you are using the latest version of the package that includes the option which causes the warning?
9th Dec 2022, 1:37 PM
Lisa
Lisa - avatar