Shopify / Shopify/shopify-app-template-php

Npm run dev ends without any error

Open
#393 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
340
Forks
108
PR merge metrics
No merged PRs in 30d

Description

Issue summary

When running npm run dev nothing happens. It only prints "shopify app dev" and stops without an error

_C:\Projects\sml\shopify-trial\shopify-trial-app>npm run dev

shopify-trial-app@1.0.0 dev C:\Projects\sml\shopify-trial\shopify-trial-app
shopify app dev

C:\Projects\sml\shopify-trial\shopify-trial-app>_

Expected behavior

What do you think should happen?

It should install dependencies and present url like described on
https://shopify.dev/apps/getting-started/create

Actual behavior

What actually happens? Only shopify app dev is printed and process stops without any error

I have installed ngrok and ngrok http 80 us running
i followed instructions on https://shopify.dev/apps/getting-started/create but npm run dev does nothing

ngrok (Ctrl+C to quit) Visit http://localhost:4040/ to inspect, replay, and modify your requests Session Status online Account koen peeters (Plan: Free) Version 3.1.0 Region Europe (eu) Latency 10ms Web Interface http://127.0.0.1:4040 Forwarding https://.eu.ngrok.io -> http://localhost:80 Connections ttl opn rt1 rt5 p50 p90 0 0 0.00 0.00 0.00 0.00

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the npm run dev entry point and the shopify app dev command, then compare their behavior with the Shopify getting-started guide linked in the report. Reproduce the command on the reported setup and identify why it exits after printing the command; done means the development process stays running and presents the expected app URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, php
Domain
backend, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.