Troubleshooting Checkout Extension

Troubleshooting Checkout Extension

Nadhem_salaani
Shopify Partner
2 0 0

Hello, I'm attempting to create a checkout extension for a Remix app.

I'm initializing the app using 'npm init @Shopify/app@latest'.

Then, when I run 'npm run dev' or 'npm generate extension', I encounter the message:

'Press any key to open the login page in your browser.'

However, when I press any key, I receive the following error:

 

Error.png

"I attempted to modify the dependencies and downgrade Node, but unfortunately, it didn't resolve the issue.

 

Node version : 18.18.0

Shopify app/cli versions : 

ShopVersion.png

Replies 3 (3)

Liam
Community Manager
3106 339 870

Hi Nadhem_salaani

 

Could you try running `npm run shopify auth logout` and then repeating this process? 

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

Nadhem_salaani
Shopify Partner
2 0 0

Hello Liam, thanks for your reply.

I tried it, but I'm still encountering the same error.

Liam
Community Manager
3106 339 870

Hi again!

 

It looks like this issue could be related to windows, specifically the permissions of your terminal app - our dev team have more context in this GitHub issue: https://github.com/Shopify/cli/issues/2977

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog