composer error : Failed to install composer packages

composer error : Failed to install composer packages

ayush123
Shopify Partner
4 0 0

Hi, 

 

There's an error while creating an app from shopify_cli via

- shopify app create php

 

Shows Error:

┏━━ Installing Composer dependencies… ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┃ ✗ Unable to install all 15 dependencies
┃ Your lock file does not contain a compatible set of packages. Please run composer update.
┗━━ An error occurred while installing dependencies ━━━━━━━━━━━━━━━━━━ (0.3s) ━━

 


┏━━ Error ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┃ ✗ Failed to install Composer packages
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

 

Reply 1 (1)

Stacy_Zhuk
Shopify Partner
550 22 77

Hi @ayush123,

 

Have you tried to "run composer update"? This is the message showing you before the error. If yes, what does it give in return?

Co-founder at Whidegroup, e-commerce development company from Ukraine
- 10+ years of experience with SMBs
- Deep expertise in custom development & optimization
E-mail: anastasia@whidegroup.com