Re: When I run the command 'npm run dev' for running shopify app, the terminal is killed on windows

When I run the command 'npm run dev' for running shopify app, the terminal is killed on windows 10

najiaahmadi_785
Shopify Partner
1 0 1

Hi, everyone. When I run my Shopify app, the terminal is soon killed. For this reason, the app couldn't load correctly. I tried to solve this issue, but the command 'npm run dev' doesn't work now. In addition, I upgraded the Shopify cli, node, and github, and after upgrading, the command didn't work now. In addition, I installed the previous version of git and node again. This issue solved but the terminal is killed yet. What do I do for this issue?

Replies 2 (2)

Yuparkoti
Excursionist
33 1 2

It sounds like you’re experiencing an issue with your system or environment settings causing the terminal to kill when running your Shopify app. There are a few things to try to troubleshoot and fix:

1. Check the logs: Look for any error messages or relevant info in the terminal logs or system logs that might explain why the terminal is killing.

2. Check for memory: Make sure your system has enough memory to run the Shopify app. If you’re running out of memory, that could be killing the terminal. Try closing other programs or services to free up memory.

3. Check for background processes: Make sure there are no other processes running in the background that could be conflicting with or killing the terminal. You can use Task Manager (Windows) or Activity Monitor (Mac) to check for any running processes.

4. Restart your computer: Sometimes just restarting your computer will fix terminal killing issues.

5. Reinstall dependencies: Try reinstalling the dependencies for your Shopify app by running npm install to make sure all the packages are installed correctly.

If none of these work, you may want to reach out to Shopify support or a developer/technical support specialist for further help diagnosing and fixing the issue.

Best Regards, Yuparkoti | Shopify Excursionist
If my answer helped you, please mark it as a solution | Thanks!
Tacotech
Shopify Partner
2 0 1
1. Check the logs: Look for any error messages or relevant info in the
terminal logs or system logs that might explain why the terminal is killing.