Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Missing package.json in many folders while migrating from shopify app 2.0 to 3.0

logistiq-123
Shopify Partner
1 0 0

While we were trying to migrate our shopify app from 2.0 to 3.0, there was this error - 

Test Title: ── external error ─────────────────────────────────────────────────────────────────────────────────────────

Error coming from npm run dev

Command failed with exit code 1: npm run dev
╭─ error ──────────────────────────────────────────────────────────────────────╮
│ │
│ The directory /Users/app/web/frontend │
│ doesn't have a package.json. │
│ │
╰──────────────────────────────────────────────────────────────────────────────╯

dev
shopify app dev

 

Reply 1 (1)

ShopifyDevSup
Shopify Staff
1246 201 442

Hi @logistiq-123 👋

 

For Shopify CLI issues, please submit an issue here in the public repo directly.  

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog