-
-
Notifications
You must be signed in to change notification settings - Fork 193
[Bug]: No electron app entry file found #27
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
me too |
Same here. Tried a few things but can't get passed this error. |
Same here |
same here |
Same issue :) |
This is a temp fix that worked for me: https://github.com/NativePHP/electron/issues/10#issuecomment-1644651637 |
@rappasoft Brilliant, that worked. At least until we get a definitive fix. |
@thanks @rappasoft, got it working too |
Did anyone manage to get this working under Laravel Sail? I followed the steps from https://github.com/NativePHP/electron/issues/10#issuecomment-1644651637 after getting the app entry file error and now I'm getting the following error instead:
|
Same issue. Will try @rappasoft's fix above |
I installed a fresh instance yesterday and it compiled with no bugs, so they fixed it for me. |
I found the same. I read the comment you linked to and they had an edit saying it is fixed in 0.1.1. I can confirm this fixed this issue without manual intervention. I would recommend closing this issue now. |
V0.1.1 fixed. |
Can confirm that it has been fixed in v0.1.1. |
What happened?
When trying to run
php artisan native:serve
an error is given:error during start dev server and electron app: Error: No electron app entry file found: /Users/[name]/Sites/laravel-example/vendor/nativephp/electron/resources/js/out/main/index.js at ensureElectronEntryFile (/Users/[name]/Sites/laravel-example/vendor/nativephp/electron/resources/js/node_modules/electron-vite/dist/chunks/lib-3592fc5a.js:26:23) at Object.startElectron (/Users/[name]/Sites/laravel-example/vendor/nativephp/electron/resources/js/node_modules/electron-vite/dist/chunks/lib-3592fc5a.js:120:5) at createServer (/Users/[name]/Sites/laravel-example/vendor/nativephp/electron/resources/js/node_modules/electron-vite/dist/chunks/lib-86ea98bb.js:74:21) at async CAC.<anonymous> (/Users/[name]/Sites/laravel-example/vendor/nativephp/electron/resources/js/node_modules/electron-vite/dist/cli.js:48:9)
How to reproduce the bug
Follow the documentation installation steps and then run
php artisan native:serve
Package Version
0.1.0
PHP Version
8.2.0
Laravel Version
10.15.0
Which operating systems does with happen with?
macOS
Notes
Additional info:
npm - v9.5.0
yarn - v1.22.19
node - v18.15.0
The text was updated successfully, but these errors were encountered: