When I use the command, npm run dev, I face this error

How to solve this error, my network connection is working fine there is no issue of internet from my side. I have also tried the “shopify auth logout” command and after logging in again I faced the same error. What all things can be done to solve this error? Anyone?

Hi @krish115 ,

You need to check package.json file.

Check for @shopify/app and @shopify/cli

Update these dependencies to latest version like,

For my shopify I am using,

“dependencies”: {
@shopify/app”: “3.44.1”,
@shopify/cli”: “3.44.1”
},

I hope this might be helpful for you.

Thanks…

I am having the version “3.46.5” for both, I think this is the latest version, should I degrade them?

Hi @krish115 ,

No need to degrade, your dependencies already updated then also,

Run : npm update

Other issues might be :

  1. Increase the timeout duration: If the server you are connecting to requires more time to respond, you can increase the timeout duration. This can be done by modifying the server configuration or adjusting the timeout settings in your application code.

  2. Check firewall and proxy settings.

Please try these efforts and let me know.

Thanks…