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
Which operating systems have you seen this occur on?
Windows
Notes
No response
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
Debug Output
Which operating systems have you seen this occur on?
Windows
Notes
No response