snowfire/Beautymail

Failed to install

Closed this issue · 2 comments

`> Illuminate\Foundation\ComposerScripts::postAutoloadDump

@php artisan package:discover --ansi

Error

Class "Pelago\Emogrifier" not found

at C:\Users\zzzz\Desktop\zzzz\vendor\snowfire\beautymail\src\Snowfire\Beautymail\CssInlinerPlugin.php:17
13▕ * Initialize the CSS inliner.
14▕ /
15▕ public function __construct()
16▕ {
➜ 17▕ $this->inliner = new \Pelago\Emogrifier();
18▕ }
19▕
20▕ /
*
21▕ * Inline the CSS before an email is sent.

1 C:\Users\zzzz\Desktop\zzzz\vendor\snowfire\beautymail\src\Snowfire\Beautymail\BeautymailServiceProvider.php:34
Snowfire\Beautymail\CssInlinerPlugin::__construct()

2 C:\Users\zzzz\Desktop\zzzz\vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:36
Snowfire\Beautymail\BeautymailServiceProvider::boot()
Script @php artisan package:discover --ansi handling the post-autoload-dump event returned with error code 1

Installation failed, reverting ./composer.json and ./composer.lock to their original content.`

Can confirm that we get the same issue Class "Pelago\Emogrifier" not found with the latest release that dependabot gives us (1.1.4). Yhay for automatic tests.

Sorry about that. I've tagged a new version that should solve this issue (v1.1.5)