-
-
Notifications
You must be signed in to change notification settings - Fork 34
Unable to locate publishable resources. #16
Comments
Am also facing the same issue. |
Same here. Doesn't work with clockwork. |
I will have to look into this... |
I've found a solution for this. Add this code in your if (!function_exists('config_path')) {
/**
* Get the configuration path.
*
* @param string $path
* @return string
*/
function config_path($path = '')
{
return app()->configPath($path);
}
}
$app->register(Spatie\MediaLibrary\MediaLibraryServiceProvider::class); Then run:
Output:
Tested with This works now, but will stop working if I update See this line https://github.com/laravel/framework/blob/8.x/src/Illuminate/Foundation/Console/VendorPublishCommand.php#L174 I could change the Related issues, PRs, etc. :
This means that I will archive this package for good. If you need to publish resources, you can copy the files manually or use Laravel instead. |
after running this
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="migrations"
I get that errorThe text was updated successfully, but these errors were encountered: