Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema after run watch command

Job ID: 34856247

Budget: $10 – $11 USD

I have an application using Vue + Laravel. I have to run the application using

npm run watch

When I run this command I got this error message :

Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration.module.rules[10] has an unknown property 'loaders'. These properties are valid:
object { assert?, compiler?, dependency?, descriptionData?, enforce?, exclude?, generator?, include?, issuer?, issuerLayer?, layer?, loader?, mimetype?, oneOf?, options?, parser?, realResource?, resolve?, resource?, resourceFragment?, resourceQuery?, rules?, scheme?, sideEffects?, test?, type?, use? }
-> A rule description with conditions and effects for modules.

Anyone can solve it ?
Related categories: Software Architecture Node.js Laravel Vue.js