Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
When following the Documentation on how to get Started with Developing a Shopify Theme I run Into an Error. I'm on Windows and trying to globally install @Shopify/cli with npm. I tried to Use CMD and PWSH version 6 and 7.
Here u can see that i have installed all mentioned Requirements, and see the Full Error Output.
Solved! Go to the solution
This is an accepted solution.
I figured It out. The problem lies in the yarn Preinstall Script(Related Issue). Just change the npm script-shell to cmd with
npm config set script-shell cmd
after the install is done u can revert this with
npm config set script-shell pwsh
I hope this helps anyone else encountering this Propblem.
This is an accepted solution.
I figured It out. The problem lies in the yarn Preinstall Script(Related Issue). Just change the npm script-shell to cmd with
npm config set script-shell cmd
after the install is done u can revert this with
npm config set script-shell pwsh
I hope this helps anyone else encountering this Propblem.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025