-
-
Notifications
You must be signed in to change notification settings - Fork 194
[Bug]: Missing commands, native:config and native:php-ini #168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Seems related to this commit - 6a43575 if (config('nativephp-internal.running')) { ...always seems to be false |
+1 on intel mac |
Same for all commands in On M1 MacBookPro |
db:seed also doesn't work |
Same as #160. |
Please take a look at my comment in #160 (comment) |
A workaround which seems to work for me is adding this environment variable
|
+1 on this. Mac Pro M1 |
+1 for Intel. |
The fix is present in the HEAD of https://github.com/NativePHP/electron-plugin (see file) but it is not tagged. The current version of It looks like we have to wait for the next version of the plugin and then corresponding updates to the lock file in
|
Same problem on Mac M2 I try to add "NATIVEPHP_RUNNING: true,", without success. Always the same problem. Error :
|
Has there been any progress or workarounds found for this issue? 🙏 It is kind of a deal breaker for experimenting with NativePHP. |
@ThibautPV your issue is different. It seems you've installed your Composer dependencies under PHP8.2 while NativePHP currently uses PHP8.1. This can be fixed by running Alternatively, the version of PHP inside NativePHP needs to match your system. More PHP versions are coming soon. |
@nickpoulos which issue are you experiencing? There seem to be multiple ones referenced here |
Before: Trying to run it on PHP 8.2, I got this same error. Running it on PHP 8.1 fixes this issue for me. |
The issue with the missing Please update to nativephp/electron v0.6 and try again. |
Uh oh!
There was an error while loading. Please reload this page.
What happened?
When I install a fresh application and require NativePHP, and attempt to bring it up with native:serve, I get an error in the output stating
I see commands for LoadPHPConfigurationCommand and LoadStartupConfigurationCommand but the application doesn't seem to see them.
How to reproduce the bug
Install Laravel via
curl -s "https://laravel.build/NativePHP" | bash
require nativephp via
composer require nativephp/electron
Attempt to bring the application up with
php artisan native:serve
Package Version
0.4.0
PHP Version
8.2.0
Laravel Version
10
Node Version
20.3.1
Which operating systems does with happen with?
Linux
Notes
No response
The text was updated successfully, but these errors were encountered: