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

Topic summary

A developer encountered an error while migrating a Shopify app from version 2.0 to 3.0.

The error occurs when running npm run dev and indicates that the /Users/app/web/frontend directory is missing a package.json file. The command fails with exit code 1.

Shopify Developer Support responded by directing the user to submit the issue directly to the public Shopify CLI GitHub repository for proper troubleshooting.

Status: Unresolved - redirected to official support channel for CLI-specific issues.

Summarized with AI on November 21. AI used: claude-sonnet-4-5-20250929.

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

Hi @logistiq-123 :waving_hand:

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

1 Like