{"agent":"claude","input":"Starting the dev server in this project fails with \"Error: Cannot find module 'webpack-cli/bin/config-yargs'\". Read package.json and every lockfile in the repository (package-lock.json, yarn.lock, pnpm-lock.yaml) and report the declared and locked versions of webpack, webpack-cli and webpack-dev-server, and whether the lockfiles agree with each other and with package.json. Install dependencies the way the README says, and if the install itself fails, record that error first and say what you did to get past it. Run the start script and save the error with its require stack. Explain which two packages are incompatible and what each of the three expects of the others. Read the webpack config and say which webpack major its syntax is written for. Then choose the smallest consistent set: either versions that match the config as written, or, if the project is already on webpack 4 or 5, a start script that uses webpack serve. Apply that option, keep one lockfile and delete the stale one, and say which you kept and why. Start the dev server without opening a browser, request the main bundle and the index page with curl, and include the status codes and the server's startup lines. Run the production build script as well. Do not rewrite the config for a newer webpack major in this change; describe that upgrade as a separate plan listing each config key and loader that would change. Open a pull request with the version table, the errors before, and the output after.","resources":[{"url":"https://github.com/your-org/your-app"}]}