I run the command yarn encore dev-server in Symfony 5 with Vue.js. I faced an error below:
PS C:\Apache24\htdocs\api_example> yarn encore dev-server
yarn run v1.22.5
$ C:\Apache24\htdocs\api_example\node_modules\.bin\encore dev-server
Running webpack-dev-server ...
RECOMMEND To create a smaller (and CSP-compliant) build, see https://symfony.com/doc/current/frontend/encore/vuejs.html#runtime-compiler-build
**[webpack-cli] Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options.client has an unknown property 'host'. These properties are valid:
object { logging?, overlay?, progress?, webSocketTransport?, webSocketURL? }**
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
