php artisan native:serve no response after running #492
-
Versionsphp: 8.2.9 composer:2.8.5 node:22.14.0 laravel:11.42.1 Run time problemPS F:\file\my\code\php_study\nativephp\test3> php .\artisan native:serve 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 App icons copied Fetching latest dependencies… PS F:\file\my\code\php_study\nativephp\test3> php -v ProblemWhy is there no application compilation? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
F:\file\my\code\php_study\nativephp\test3\vendor\laravel\framework\src\Illuminate\Process\PendingProcess.php After line number 234 add code var_dump($this->command).
I debug the run and output the results Starting NativePHP dev server… Fetching latest dependencies… Installing NPM dependencies (This may take a while)... Installing NPM dependencies using the npm package manager... Fetching latest dependencies… string(11) "npm install" Starting NativePHP app Copying app icons... App icons copied Running the dev script with npm... Fetching latest dependencies… string(11) "npm run dev" ProblemWhat causes to end after the "npm run dev" command running. |
Beta Was this translation helpful? Give feedback.
-
Hey! 👋 What happens if you just run |
Beta Was this translation helpful? Give feedback.
-
Perfect. That shows npm works well. How about running |
Beta Was this translation helpful? Give feedback.
Is this a brand new application?
What happens if you create a new application and run immediately?
Let me know what happens?