When using the "npm run deploy" to push the code, an error is reported

Topic summary

A developer encounters an error when running npm run deploy for a Shopify app. The error message shown in screenshots indicates a deployment failure.

Troubleshooting attempts:

  • First suggestion: Run npm run dev command instead
  • Second suggestion: Execute npm run shopify auth logout followed by npm run dev

Current status:

  • The issue remains unresolved after trying the suggested commands
  • The same error persists across multiple attempts
  • Screenshots document the ongoing error messages

The discussion is still open with no working solution identified yet.

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

Hello @merodi ,

This is AJ from StoreWatchers team.

I would suggest you to try running npm run dev command first.

Thanks

Thanks for the reply, but I got the same result

Can you try npm run shopify auth logout then try again npm run dev


It’s still an error