rest-api-with-lumen icon indicating copy to clipboard operation
rest-api-with-lumen copied to clipboard

i am gettin error message

Open relativ opened this issue 6 years ago • 4 comments

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

relativ avatar Mar 16 '18 11:03 relativ

Try running composer install

hasib32 avatar Mar 16 '18 23:03 hasib32

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

gofaniyi avatar Mar 18 '18 07:03 gofaniyi

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

gofaniyi avatar Mar 18 '18 07:03 gofaniyi

Thank you!

ghost avatar Mar 24 '18 09:03 ghost