I installed imagick to use the spatie / pdf-to-image library. I run the following error while running the program:
Fatal error: Uncaught ImagickException