{"record":{"id":"82c7c2736c49ad15","repo":"koel/koel","slug":"command-pnpm-dev-has-been-removed-use-composer","errorCode":null,"errorMessage":"Command \"pnpm dev\" has been removed. Use \"composer dev\" instead.","messagePattern":"Command \"pnpm dev\" has been removed\\. Use \"composer dev\" instead\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"info","filePath":"package.json","lineNumber":95,"sourceCode":"    \"vite\": \"npm:@voidzero-dev/vite-plus-core@^0.1.24\",\n    \"vite-plus\": \"^0.1.24\",\n    \"vitepress\": \"^1.6.3\",\n    \"vitepress-plugin-llms\": \"^1.11.0\",\n    \"vitest\": \"npm:@voidzero-dev/vite-plus-test@^0.1.24\",\n    \"vue-tsc\": \"^3.2.5\"\n  },\n  \"engines\": {\n    \"node\": \"^20.19.0 || >=22.12.0\"\n  },\n  \"scripts\": {\n    \"check\": \"vp check resources/assets\",\n    \"check:fix\": \"vp check --fix resources/assets\",\n    \"typecheck\": \"vue-tsc --noEmit -p resources/assets/tsconfig.typecheck.json\",\n    \"test\": \"vp test\",\n    \"test:unit\": \"vp test\",\n    \"build:sw\": \"vp build --config vite.config.sw.js\",\n    \"build\": \"vp build && pnpm run build:sw\",\n    \"dev\": \"node -e \\\"console.warn('Command \\\\\\\"pnpm dev\\\\\\\" has been removed. Use \\\\\\\"composer dev\\\\\\\" instead.')\\\"\",\n    \"docs:dev\": \"vitepress dev docs\",\n    \"docs:build\": \"vitepress build docs\",\n    \"docs:preview\": \"vitepress preview docs\",\n    \"prepare\": \"vp config\"\n  },\n  \"type\": \"module\",\n  \"pnpm\": {\n    \"overrides\": {\n      \"form-data@<2.5.4\": \">=2.5.4\",\n      \"@rolldown/pluginutils\": \"1.0.0-rc.9\",\n      \"vite\": \"npm:@voidzero-dev/vite-plus-core@^0.1.24\",\n      \"vitest\": \"npm:@voidzero-dev/vite-plus-test@^0.1.24\"\n    }\n  },\n  \"packageManager\": \"pnpm@10.32.1\"\n}\n","sourceCodeStart":77,"sourceCodeEnd":112,"githubUrl":"https://github.com/koel/koel/blob/41cab99feeaf59b139699403fdfd41f0a280fb39/package.json#L77-L112","documentation":"Koel's package.json no longer ships a working `dev` script. The `dev` entry is a stub — `node -e \"console.warn(...)\"` — that prints this message and exits 0 without starting anything. Front-end development was consolidated behind `composer dev` (a script array in composer.json) which orchestrates the Laravel dev server together with the Vite+ (`vp`) pipeline.","triggerScenarios":"Running `pnpm dev`, `pnpm run dev`, or `npm run dev` in the repository root always prints the warning and starts no server. CI jobs, Dockerfiles, and IDE launch tasks that still invoke `pnpm dev` also hit it and silently 'succeed' (exit 0) while doing nothing.","commonSituations":"Muscle memory or outdated tutorials referencing `pnpm dev`; CI pipelines and Dockerfiles not updated after the migration to composer-run dev and the Vite+ `vp` CLI; onboarding from an older Koel checkout.","solutions":["Run `composer dev` instead — it starts the full dev stack (Laravel server + Vite)","Grep the repo for stale invocations and update them: `grep -rn 'pnpm dev' . --exclude-dir=node_modules`","For front-end-only work, run `vp dev` (the Vite+ CLI) directly","Confirm the script exists in your checkout: `composer run --list | grep dev`"],"exampleFix":"# before (Dockerfile / CI)\nRUN pnpm dev\n\n# after\nRUN composer dev # or: vp dev for frontend-only","handlingStrategy":"validation","validationCode":"# Fail CI when stale invocations of the removed script exist\nif grep -rq 'pnpm dev\\|npm run dev' --exclude-dir=node_modules --exclude-dir=vendor .; then\n  echo 'Stale \"pnpm dev\" references found — migrate to \"composer dev\"' >&2; exit 1\nfi","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Use `composer dev` as the single entry point for local development","Update Dockerfiles, CI jobs, and IDE launch configs in the same commit that upgrades Koel","For frontend-only work use the Vite+ CLI: `vp dev`","Treat a `pnpm dev` that only prints a message and exits 0 as a silent failure in automation"],"tags":["vite","composer","pnpm","deprecation","developer-experience"],"backgroundTag":"npm-script-deprecated","analyzedSha":"41cab99feeaf59b139699403fdfd41f0a280fb39","analyzedAt":"2026-08-23T01:46:48.360Z","schemaVersion":2},"datasetVersion":"2026-08-23T08:06:27.607Z"}