vanilophp / framework

The truly Laravel E-commerce Framework
https://vanilo.io
MIT License
810 stars 102 forks source link

Interface 'Konekt\AppShell\Contracts\Requests\BaseRequest' not found #14

Closed parwaizjan closed 6 years ago

parwaizjan commented 6 years ago

Soon after installing when I do "php artisan concord:modules -a", I get the following:

PHP Fatal error: Interface 'Konekt\AppShell\Contracts\Requests\BaseRequest' not found in /home/vagrant/Projects/vanilo.local/www/vendor/vanilo/framework/src/Contracts/Requests/CreateProduct.php on line 17

In CreateProduct.php line 17: Interface 'Konekt\AppShell\Contracts\Requests\BaseRequest' not found

Please let me know how I should about it. Thanks and keep up the great work! Love the concept!!

fulopattila122 commented 6 years ago

How exactly did you install?

Thanks! Next release is just really close, btw

parwaizjan commented 6 years ago

Hi Attila,

I did exactly as mentioned here: https://vanilo.io/docs/0.2/installation

Thanks, Jan.

On Tue, Jun 12, 2018 at 11:50 PM, Attila Fulop notifications@github.com wrote:

How exactly did you install?

Thanks! Next release is just really close, btw

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vanilophp/framework/issues/14#issuecomment-396686467, or mute the thread https://github.com/notifications/unsubscribe-auth/AiTl0dQLL9gb4_u3DVLjYscylftxb82Aks5t8AZsgaJpZM4Uk6mw .

fulopattila122 commented 6 years ago

What is the output of composer show vanilo/* ?

parwaizjan commented 6 years ago

vanilo/address 0.2.0 Vanilo Address Module vanilo/cart 0.2.0 Vanilo Cart Module vanilo/checkout 0.2.0 Vanilo Checkout Module vanilo/contracts 0.2.0 Common set of Vanilo Contracts (Interfaces) vanilo/framework 0.2.0 E-commerce Framework for Laravel vanilo/order 0.2.2 Vanilo Order Module vanilo/product 0.2.0 Vanilo Product Module vanilo/support 0.2.0 Common Vanilo functions, traits, helpers

fulopattila122 commented 6 years ago

Oh yes, now I know.. AppShell has a BC after v0.9.6

As a quick fix you can add this to your app's composer.json:

require:
  ...
  "konekt/appshell": "0.9.6",
  ...

And the remove composer.lock, the vendor dir and run composer install again.

This should fix this issue. Please report back to me whether it worked. If all good, I'll fix the 0.2 series accordingly

Cheers

parwaizjan commented 6 years ago

Worked like a charm! Thanks.

[Two Thumbs Up]