Become a member
Sign in
Hi, when I ran: “php artisan make:model Role -m”, I got an error: “-bash: $: command not found”.
1
3
Wayne Smallman
Amin Al-Ali
Amin Al-Ali
Jul 26, 2017 · 1 min read

Wayne you have to do 2 things first make sure you ran php artisan migrate:rollback to remove the tables if you have already deleted the files just go to the database and drop the tables manually.
and then run composer dump-autoload … all should work great afterwards

    Amin Al-Ali

    Written by

    Amin Al-Ali

    Write the first response

    Discover Medium

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

    Make Medium yours

    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

    Become a member

    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade
    AboutHelpLegal