8000 [Bug]: php artisan native:serve requires yarn? · Issue #7 · NativePHP/laravel · GitHub
[go: up one dir, main page]

Skip to content
[Bug]: php artisan native:serve requires yarn? #7
Closed
@mraheelkhan

Description

@mraheelkhan

What happened?

Unable to serve NativePhp server via php artisan native:serve.
I am running MacOS and Laravel Valet.

How to reproduce the bug

  1. Installed Laravel.
  2. Installed NativePhp via composer
  3. Installed NativePhp via php artisan native:install
  4. Would you like to install the NativePHP NPM dependencies? (yes/no) [yes]:

yes

  1. Would you like to start the NativePHP development server (yes/no) [no]:

yes
and output is

Starting NativePHP dev server…
Fetching latest dependencies…
Starting NativePHP app…
sh: yarn: command not found
NativePHP scaffolding installed successfully.

Also running php artisan native:serve
Results in same output.

Package Version

Alpha Laracon release

PHP Version

8.1.19

Laravel Version

10.15.0

Which operating systems does with happen with?

macOS

Notes

Do I need to explicitly install and configure yarn for NativePhp?

Eagerly waiting to give it a try.
A lots of Love.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0