Closed bryanchapel closed 6 years ago
I think I figured it out... Doing anything in the Lumen section of the readme broke everything, and 'Vinelab\NeoEloquent\NeoEloquentServiceProvider' needed to be Vinelab\NeoEloquent\NeoEloquentServiceProvider::class in the providers array. We might want to rewrite the top configuration part of the readme to help troubleshoot some possibly common issues people might have.
I'd be happy to break several installs and try and write a troubleshooting section to help beef it up. Let me know!
I finally got this working with Laravel 5.3 and neoeloquent 1.4.*.
I'm not sure what I'm doing wrong here or if there's an issue with the readme. When I install Laravel 5.4 and try the readme's install instructions for 5.4 using the require for "vinelab/neoeloquent": "dev-laravel5.4", I get: `Problem 1
If I try and use neoeloquent 1.4*, with either 5.3 or 5.4 Laravel, I get: `PHP Fatal error: Uncaught ReflectionException: Class db does not exist in /Library/WebServer/Documents/neotest/vendor/laravel/framework/src/Illuminate/Container/Container.php:729 Stack trace:
0 /Library/WebServer/Documents/neotest/vendor/laravel/framework/src/Illuminate/Container/Container.php(729): ReflectionClass->__construct('db')
1 /Library/WebServer/Documents/neotest/vendor/laravel/framework/src/Illuminate/Container/Container.php(608): Illuminate\Container\Container->build('db')
2 /Library/WebServer/Documents/neotest/vendor/laravel/framework/src/Illuminate/Container/Container.php(575): Illuminate\Container\Container->resolve('db')
3 /Library/WebServer/Documents/neotest/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(728): Illuminate\Container\Container->make('db')
4 /Library/WebServer/Documents/neotest/vendor/laravel/framework/src/Illuminate/Container/Container.php(1172): Illuminate\Foundation\Application->make('db')
5 /Library/WebServer/Documents/neotest/vendor/vinelab/neoeloquent/src/Vinelab/Ne in /Library/WebServer/Documents/neotest/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 729
Script php artisan optimize handling the post-update-cmd event returned with error code 255`
Any suggestions on how to fix any of this?