Open creativeorange opened 11 years ago
Sounds like a possibly outdated version of Basset. Update your composer.json
to dev-master
for the Basset version and run a composer update
.
This is what I did:
So far so good. But when I run composer update, I get the error mentioned above.
-Add "jasonlewis/basset": "dev-master" to the composer.json -Run composer update -Register the service provider and alias.
Try this order :)
That did the trick! Thanks!
What went wrong was I followed the documentation order. So I did the Getting started > Installation steps first. After that I tried to publish the configuration explained in Getting started > Configuration
I'm not sure if this is still a bug. I cannot publish the configuration after I registered the service provider and alias. Anyways: changing the order worked for me. Thank you very much. Keep up the good work!
After running the "php artisan config:publish jasonlewis/basset" command I'm running into the following error/exception:
php artisan config:publish jasonlewis/basset {"error":{"type":"Basset\Exceptions\DirectoryNotFoundException","message":"Directory [] could not be found.","file":"(...)vendor\/jasonlewis\/basset\/src\/Basset\/AssetFinder.php","line":181}}
The only thing I can think off is that I moved my public directory, but I updated all the variables in public/index.php and laravel/bootstrap/paths.php, so this shouldn't be the issue..
Update: I'm not only getting this error after 'config:publish', but after every other basset command as well.