You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
just edit anything in ./modules/hello/index.ts , press save , dev server crashes with this error.
however if i edit and save anything in ./modules/hello/runtime/api-route.ts , dev server and hmr works as expected.
ERROR [unhandledRejection] kill ENOSYS 1:31:02 am
at ChildProcess.kill (node:internal/child_process:509:13)
at kill (/F:/node-local/nuxt-apps/nuxt3-module-edit-error-windows/node_modules/.pnpm/nuxi@3.10.1/node_modules/nuxi/dist/chunks/dev.mjs:246:17)
at restart (/F:/node-local/nuxt-apps/nuxt3-module-edit-error-windows/node_modules/.pnpm/nuxi@3.10.1/node_modules/nuxi/dist/chunks/dev.mjs:251:5)
at ChildProcess.<anonymous> (/F:/node-local/nuxt-apps/nuxt3-module-edit-error-windows/node_modules/.pnpm/nuxi@3.10.1/node_modules/nuxi/dist/chunks/dev.mjs:280:9)
at ChildProcess.emit (node:events:514:28)
at emit (node:internal/child_process:951:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
The text was updated successfully, but these errors were encountered:
geminigeek
changed the title
Dev server crashing on saving module entry point file ./module/<anyModule>/index.ts file on Windows 10
Dev server crashing on saving module entry point file ./modules/<anyModule>/index.ts file on Windows 10
Feb 21, 2024
danielroe
changed the title
Dev server crashing on saving module entry point file ./modules/<anyModule>/index.ts file on Windows 10
Dev server crashing when nuxt is restarted
Feb 22, 2024
Environment
Nuxt project info:
Reproduction
this is just as defined on this page https://nuxt.com/docs/guide/directory-structure/modules
https://github.com/geminigeek/nuxt3-module-edit-error-windows
Describe the bug
just edit anything in ./modules/hello/index.ts , press save , dev server crashes with this error.
however if i edit and save anything in ./modules/hello/runtime/api-route.ts , dev server and hmr works as expected.
Additional context
related issue nuxt/nuxt#25115
Logs
No response
The text was updated successfully, but these errors were encountered: