laravel-db-blade-compiler
laravel-db-blade-compiler copied to clipboard
its not working Google App Engine
anybody please help me to resolve this error on Google App Engine Standard Instance.
file_put_contents(/tmp/app/db-blade-compiler/views/c9f4478432ab0186296c78969026ae3c): failed to open stream: No such file or directory
Looks like the directory doesn't get created automatically... I'm looking for a solution too.
I've just discovered this package, used locally and creating the folder manually solves it. In the package service provider, i could find the solution.
What really matters is the folder to exist, so there are different ways to achieve.
Just run
php artisan vendor:publish --provider="Flynsarmy\DbBladeCompiler\DbBladeCompilerServiceProvider"
in the server that is giving you error... it doesn't matter if in ssh, or in the deploy script, say when you run the migrations.. Never used google app engine..
Other way is to make the folder locally (with same command), and just not ignoring it, to make it part of the repo, and this way it will exist everywhere you deploy...
Run the command, edit storage/app/.gitignore
*
!public/
!db-blade-compiler/
!.gitignore
so that it does not ignore that file...
Should get you going!