Open site shell not working on Windows

Issue Summary

_Open site shell not working _

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular? All sites.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser? Yes.

Replication

When I try to open site shell, a window open with that code (i’m not able to go further) :

Setting Local environment variables...
----
WP-CLI: Warning: PHP Startup: Unable to load dynamic library 'php_imagick.dll' (tried: C:/Users/MyId/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-7.4.1+18/bin/win64/ext\php_imagick.dll (Le module sp├®cifi├® est introuvable.), C:/Users/MyId/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-7.4.1+18/bin/win64/ext\php_php_imagick.dll.dll (Le module sp├®cifi├® est introuvable.)) in Unknown on line 0
WP-CLI: WP-CLI 2.6.0
Composer: Warning: PHP Startup: Unable to load dynamic library 'php_imagick.dll' (tried: C:/Users/MyId/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-7.4.1+18/bin/win64/ext\php_imagick.dll (Le module sp├®cifi├® est introuvable.), C:/Users/MyId/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-7.4.1+18/bin/win64/ext\php_php_imagick.dll.dll (Le module sp├®cifi├® est introuvable.)) in Unknown on line 0
Composer: Warning: PHP Startup: Unable to load dynamic library 'php_imagick.dll' (tried: C:/Users/MyId/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-7.4.1+18/bin/win64/ext\php_imagick.dll (Le module sp├®cifi├® est introuvable.), C:/Users/MyId/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-7.4.1+18/bin/win64/ext\php_php_imagick.dll.dll (Le module sp├®cifi├® est introuvable.)) in Unknown on line 0
Composer: Composer version 2.1.5 2021-07-23 10:35:47
PHP: Warning: PHP Startup: Unable to load dynamic library 'php_imagick.dll' (tried: C:/Users/MyId/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-7.4.1+18/bin/win64/ext\php_imagick.dll (Le module sp├®cifi├® est introuvable.), C:/Users/MyId/AppData/Local/Programs/Local/resources/extraResources/lightning-services/php-7.4.1+18/bin/win64/ext\php_php_imagick.dll.dll (Le module sp├®cifi├® est introuvable.)) in Unknown on line 0
PHP: 7.4.1
MySQL: mysql  Ver 8.0.16 for Win64 on x86_64 (MySQL Community Server - GPL)
----
Loaded Shell for Local Site: name of the site
----
C:\Users\MyId\Local Sites\name-of-the-site\app\public>

System Details

  • Which version of Local is being used? The last one (download this morning on your website)

  • What Operating System (OS) and OS version is being used?

    • Windows 10 Professional
  • Attach the Local Log. See this Help Doc for instructions on how to do so:

Thanks for your help !

Hello @Decrypto - welcome to the Local Community! :wave:

Thank you for your question, have you had a chance to try some of the ideas shared in this thread? Looks like an error with the path to ImageMagick.

Let me know if this helps!

Sam :woman_technologist:t3:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.