Vue Use ‘npm run dev’ Error: Error: Unknown option ‘–inline‘ [How to Solve]

Vue reports an error using ‘NPM run dev’

Solution:
execute NPM install webpack-dev-server -D

If the change command fails, install webpack globally first
execute NPM install webpack-cli -g

Read More: