Skip to content

Laravel install fails on Windows install:features #60253

Description

@Ademking

Laravel Version

13.11.2

PHP Version

8.5.4

Database Driver & Version

No response

Description

On Windows 11, running laravel new fails during the post-autoload scripts when artisan install:features is executed.
The command triggers an interactive prompt, which causes the Composer script to fail with exit code 255.

> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi

   INFO  Discovering packages.

  inertiajs/inertia-laravel ................................................................................................................... DONE
  laravel/fortify ............................................................................................................................. DONE
  laravel/pail ................................................................................................................................ DONE
  laravel/pao ................................................................................................................................. DONE
  laravel/passkeys ............................................................................................................................ DONE
  laravel/sail ................................................................................................................................ DONE
  laravel/tinker .............................................................................................................................. DONE
  laravel/wayfinder ........................................................................................................................... DONE
  nesbot/carbon ............................................................................................................................... DONE
  nunomaduro/collision ........................................................................................................................ DONE
  nunomaduro/termwind ......................................................................................................................... DONE

87 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
> @php artisan install:features --ansi

  Which authentication features would you like to enable? [email-verification,registration,2fa,passkeys,password-confirmation]
  None .............................................................................................................................................
  Email verification ............................................................................................................ email-verification
  Registration ........................................................................................................................ registration
  Two-factor authentication .................................................................................................................... 2fa
  Passkeys ................................................................................................................................ passkeys
  Password confirmation ...................................................................................................... password-confirmation

Script @php artisan install:features --ansi handling the post-update-cmd event returned with error code 255

Steps To Reproduce

laravel new

Observe failure during post-autoload-dump

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions