Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To Uninstall The Package #250

Open
acedesigns opened this issue Jun 15, 2019 · 1 comment
Open

How To Uninstall The Package #250

acedesigns opened this issue Jun 15, 2019 · 1 comment

Comments

@acedesigns
Copy link

Hi TheDevDojo Team.

So I was able to install the package as per read me for my Laravel 5.6.39 project.

Half way the project, I was asked to remove the "Forum" feat. So i followed these steps to un-install and remove the package. Not in any particular order ...

  • Remove/Delete the "devdojo/chatter=0.2.*" from composer.json
  • Remove/Delete vendor folder inside public
  • Remove/Delete config/chatter.php file
  • Remove/Delete the @yield('css') and @yield('js') from my master layout file
  • Removed/Deleted the Vendor folder for all Laravel dependencies
  • I run composer install anagin
  • Run composer dump-autoload

Now, Every time I navigate to any page in my App, I get the following error. Seems like there is a file I missed that is checking for DB connected tables

Please help

Imgur

@JustinLawrenceMS
Copy link

JustinLawrenceMS commented Jul 13, 2019

I usually check the tab that says "Application frames (1)" first. Sometimes that will take you directly to the offending file. Failing that, check php artisan route:list to see if there are any routes still looking for the deleted packages. You maybe able to find out where the controller or whatever is that is messing you up. In routes/web.php, look for something like 'DevDojoController@thisisjustanexample'. Make sure you also delete routes. Another thing about vendors, with Laravel, they sometimes circumvent the traditional Laravel directory structure, so do this: grep -r 'example_keyword' ../laravel_root

In this case, example_keyword would be some text containing information gleamed from above, and laravel_root would be the root directory of you laravel project. This will help you find where the files are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants