Skip to content

AdonisJS ace serve --hmr Often Silent Crashes on Windows #71

@CodingMoeButa

Description

@CodingMoeButa

Windows 11 25H2

Package version

6.18.0

Describe the bug

node -v
v22.12.0

npm init adonisjs@latest hello-world
> npx
> create-adonisjs hello-world


     _       _             _         _ ____  
    / \   __| | ___  _ __ (_)___    | / ___| 
   / _ \ / _` |/ _ \| '_ \| / __|_  | \___ \ 
  / ___ \ (_| | (_) | | | | \__ \ |_| |___) |
 /_/   \_\__,_|\___/|_| |_|_|___/\___/|____/ 


> Which starter kit would you like to use · Web Starter Kit
> Which authentication guard you want to use · session
> Which database driver you want to use · postgres
> Download starter kit (1.56 s)
  Downloaded "github:adonisjs/web-starter-kit"
> Install packages (24 s)
> Prepare application (856 ms)
> Configure Lucid (6.47 s)
  Lucid configured to use "postgres" database
> Configure Auth (2.81 s)
  Auth configured to use "session" guard

╭──────────────────────────────────────────────────────────────────╮
│    Your AdonisJS project has been created successfully!          │
│──────────────────────────────────────────────────────────────────│
│                                                                  │
│    > cd hello-world                                              │
│    > npm run dev                                                 │
│    > Open http://localhost:3333                                  │
│    >                                                             │
│    > Have any questions?                                         │
│    > Join our Discord server - https://discord.gg/vDcEjq6        │
│                                                                  │
╰──────────────────────────────────────────────────────────────────╯
cd hello-world
npm run dev

Then crash. Just shows:

[ info ] starting HTTP server...
PS C:\Users\user\Desktop\hello-world>

Sometimes it can start, sometimes it cannot.

Reproduction repo

Any AdonisJS application.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions