Skip to content

I find a bug, "php artisan native:run" reports a mistake #149

Description

@Surzace1

What were you trying to do?

I want to install NativePHP on my computer

OS: Windows 11
PHP: 8.5.10
Node: 24.20.0LTS
Composer: 2.10.3
NPM: 12.0.2
Laravel: 13.30.1
NativePHP/desktop: 2.2.1

What happened?

When I run "php artisan native:run", it reports a mistake

How to reproduce the bug

I installed it following the instructions in the document. Run "composer require nativephp/desktop" first, no mistake. Run "php artisan native:install", no mistake. Run "php artisan native:run", it has a mistake

PS D:\laravel\laravel> php artisan native:run

  Starting NativePHP dev server… 

 Fetching latest dependencies…

 Installing NPM dependencies (This may take a while)...

 Installing NPM dependencies using the npm package manager...


 Starting NativePHP app

 Running the dev script with npm...


 Command failed: 'npm run dev' (exit code 1)

Debug Output

Image

Which operating systems have you seen this occur on?

Windows

Notes

No response

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

    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