This repository was archived by the owner on Apr 28, 2025. It is now read-only.
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
throw new Error(Failed to kill process ${pid}: ${error}
) after code change #246
Open
Description
Have you experienced this bug with the latest version of the template?
Yes
Steps to Reproduce
follow tutorial: https://remix.run/docs/en/main/tutorials/blog
- npx create-remix@latest --template remix-run/indie-stack blog-tutorial
- ? Do you want me to run
npm install
? Yes - npm run dev
- copy paste code inside _index.tsx:
<div className="mx-auto mt-16 max-w-7xl text-center">
<Link
to="/posts"
className="text-xl text-blue-600 underline"
>
Blog Posts
</Link>
</div>
hot reload results in error:
Mock server running
Remix App Server started at http://localhost:3000 (http://192.168.2.39:3000)
GET /?vscodeBrowserReqId=1689520104299 200 - - 120.051 ms
info rebuilding... (~ app\routes\_index.tsx)
info rebuilt (463ms)
D:\PROJEKTI\prototypes\remix-blog-tut\node_modules\@remix-run\dev\dist\devServer_unstable\proc.js:29
throw new Error(`Failed to kill process ${pid}: ${error}`);
^
Error: Failed to kill process 28280: Error: Command failed with exit code 1: taskkill /F /PID 28280
ERROR: The process with PID 28280 could not be terminated.
Reason: The operation attempted is not supported.
at kill (D:\PROJEKTI\prototypes\remix-blog-tut\node_modules\@remix-run\dev\dist\devServer_unstable\proc.js:29:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 2)
at async Object.killtree (D:\PROJEKTI\prototypes\remix-blog-tut\node_modules\@remix-run\dev\dist\devServer_unstable\proc.js:43:3)
at async onBuildFinish (D:\PROJEKTI\prototypes\remix-blog-tut\node_modules\@remix-run\dev\dist\devServer_unstable\index.js:236:13)
Node.js v18.15.0
Expected Behavior
to normal hot reload and show changes on website
Actual Behavior
server breaks with error
Metadata
Metadata
Assignees
Labels
No labels