Open arjunv615 opened 2 months ago
Did you install the dependencies first? php artisan native:install
Yes, I have installed the dependencies using this command and followed all the steps outlined in the NativePHP documentation: Getting Started - Installation
@arjunv615 this can happen if there's an exception during the bootup sequence of Laravel. Please check your logs to see if there are any errors
What were you trying to do?
While starting the development server with the command php artisan native:serve, the Laravel application is not appearing in a native desktop window.
What happened?
It should now show my Laravel application running in a native desktop window.
How to reproduce the bug
After completing your installation process mentioned in your docsWhile starting the development server with the command php artisan native:serve, the Laravel application is not appearing in a native desktop window.
Package Versions
"version": "0.7.0"
PHP Version
8.3.8
Laravel Version
10.0.0 and in 11.9
Node Version
22.5
Which operating systems have you seen this occur on?
Windows
OS version
10.0.22631.4037
Notes
More details: "npm error Exit handler never called! npm error This is an error with npm itself. Please report this error at: npm error https://github.com/npm/cli/issues npm error A complete log of this run can be found in: C:\Users\abc\AppData\Local\npm-cache_logs\2024-08-28T11_05_25_105Z-debug-0.log
Starting NativePHP app
Running the dev script with npm...
Fetching latest dependencies…
'cross-env' is not recognized as an internal or external command, operable program or batch file." No response