hasib32 / rest-api-with-lumen

Rest API boilerplate for Lumen micro-framework.
486 stars 144 forks source link

i am gettin error message #53

Open relativ opened 6 years ago

relativ commented 6 years ago

Hello,

when I install it on my server I ma getting this error message. please help to fix it.

BindingResolutionException in Container.php line 804:
Target [Illuminate\Contracts\Http\Kernel] is not instantiable.

in Container.php line 804
at Container->notInstantiable('Illuminate\\Contracts\\Http\\Kernel') in Container.php line 687
at Container->build('Illuminate\\Contracts\\Http\\Kernel') in Container.php line 565
at Container->make('Illuminate\\Contracts\\Http\\Kernel') in Application.php line 208
at Application->make('Illuminate\\Contracts\\Http\\Kernel') in BoundMethod.php line 155
at BoundMethod::addDependencyForCallParameter(object(Application), object(ReflectionParameter), array(), array(object(Request))) in BoundMethod.php line 115
at BoundMethod::getMethodDependencies(object(Application), array(object(ServiceProvider), 'boot'), array()) in BoundMethod.php line 28
at BoundMethod::Illuminate\Container\{closure}() in helpers.php line 912
at value(object(Closure)) in BoundMethod.php line 86
at BoundMethod::callBoundMethod(object(Application), array(object(ServiceProvider), 'boot'), object(Closure)) in BoundMethod.php line 30
at BoundMethod::call(object(Application), array(object(ServiceProvider), 'boot'), array(), null) in Container.php line 524
at Container->call(array(object(ServiceProvider), 'boot')) in Application.php line 176
at Application->register(object(ServiceProvider)) in app.php line 101
at require('/mnt/Depo/Projects/GazlaWeb/bootstrap/app.php') in index.php line 14
hasib32 commented 6 years ago

Try running composer install

gofaniyi commented 6 years ago

@hasib32 I am getting the same error @relativ reported. I have run composer install and still getting the same error.

gofaniyi commented 6 years ago

@hasib32 I got to resolve the issue. @relativ Delete the existing/old composer.lock file and re-install again using composer.

ghost commented 6 years ago

Thank you!