Error message screencapture
Good morning,
I am installing Boostrap v 5.3.3 in Symfony following the Bootstrap documentation. But I encounter an error when launching the “npm start” command (just after modifying the ‘package.json’ file with the script provided by the doc on this link: https://getbootstrap.com/docs/5.3/getting-started/webpack/#import-bootstrap).
I have the:
start
webpack serve
Which is displayed, but which is followed by the error message:
“[webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options has an unknown property ‘_assetEmittingPreviousFiles’. These properties are valid:
object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, ipc?, liveReload?, onListening?, open?, port?, proxy?, server?, setupExitSignals?, setupMiddlewares?, static?, watchFiles?, webSocketServer? }”
Can you help me get out of this blockage please?
thank you
I haven’t done anything, I prefer to wait for your suggestions before breaking everything
TheLands is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.