You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Laravel 12 comes with sail, yet Wave3 does not. I installed Sail on top of Wave and when I run it, it gives an permission errors while the official Laravel 12 that comes with sail does not give errors using the same dock-compose.yml.
Does anybody use Sail with Wave3?
Update: I had two issues.
1,Solved: Storage had the wrong owner (sail istead of root) inside of the container, but adding these to the .env fixed that:
WORKSPACE_PUID=1000
WORKSPACE_PGID=1000
2, Maybe Solved: When the container spins up it still gives this error
Seems like the globals.php is pointing to my local development location inside the container?
laravel.test-1 | require_once(/Users/xyz/code/expo/wave/src/Helpers/globals.php): Failed to open stream: No such file or directory
laravel.test-1 |
laravel.test-1 | at wave/src/WaveServiceProvider.php:135
laravel.test-1 | 131▕ $helpers = glob(DIR.'/Helpers/*.php');
laravel.test-1 | 132▕ }
laravel.test-1 | 133▕
laravel.test-1 | 134▕ foreach ($helpers as $filename) {
laravel.test-1 | ➜ 135▕ require_once $filename;
laravel.test-1 | 136▕ }
laravel.test-1 | 137▕ }
laravel.test-1 | 138▕
laravel.test-1 | 139▕ protected function loadMiddleware()
laravel.test-1 |
laravel.test-1 | 1 wave/src/WaveServiceProvider.php:135
laravel.test-1 |
laravel.test-1 | 2 wave/src/WaveServiceProvider.php:77
laravel.test-1 | Wave\WaveServiceProvider::loadHelpers()
Seems like it cashed it at install. After running rm -rf storage/framework/cache/* solved that but now when I run
composer install on my local I get the opposite ...:
require_once(/var/www/html/wave/src/Helpers/globals.php): Failed to open stream: No such file or directory
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Laravel 12 comes with sail, yet Wave3 does not. I installed Sail on top of Wave and when I run it, it gives an permission errors while the official Laravel 12 that comes with sail does not give errors using the same dock-compose.yml.
Does anybody use Sail with Wave3?
Update: I had two issues.
1,Solved: Storage had the wrong owner (sail istead of root) inside of the container, but adding these to the .env fixed that:
WORKSPACE_PUID=1000
WORKSPACE_PGID=1000
2, Maybe Solved: When the container spins up it still gives this error
Seems like the globals.php is pointing to my local development location inside the container?
laravel.test-1 | require_once(/Users/xyz/code/expo/wave/src/Helpers/globals.php): Failed to open stream: No such file or directory
laravel.test-1 |
laravel.test-1 | at wave/src/WaveServiceProvider.php:135
laravel.test-1 | 131▕ $helpers = glob(DIR.'/Helpers/*.php');
laravel.test-1 | 132▕ }
laravel.test-1 | 133▕
laravel.test-1 | 134▕ foreach ($helpers as $filename) {
laravel.test-1 | ➜ 135▕ require_once $filename;
laravel.test-1 | 136▕ }
laravel.test-1 | 137▕ }
laravel.test-1 | 138▕
laravel.test-1 | 139▕ protected function loadMiddleware()
laravel.test-1 |
laravel.test-1 | 1 wave/src/WaveServiceProvider.php:135
laravel.test-1 |
laravel.test-1 | 2 wave/src/WaveServiceProvider.php:77
laravel.test-1 | Wave\WaveServiceProvider::loadHelpers()
Seems like it cashed it at install. After running rm -rf storage/framework/cache/* solved that but now when I run
composer install on my local I get the opposite ...:
require_once(/var/www/html/wave/src/Helpers/globals.php): Failed to open stream: No such file or directory
Could not cashing the absolute path help?
Beta Was this translation helpful? Give feedback.
All reactions