Re: Shopify CLI node version issue

Solved

Shopify CLI node version issue

tomadelaney
Shopify Partner
18 2 2

I am trying to run 

$ npm init @Shopify/app@latest

but the process fails because the cli script believes I have an invalid node version.

What version of node & npm work with the current shopify cli (v3.61.2)?

Accepted Solution (1)

BSSCommerce-B2B
Shopify Partner
1969 564 566

This is an accepted solution.

Hi @tomadelaney,

I just modify 'Shopify' into 'shopify' and create app execution works. Maybe you just type wrong characters. For further informations, Shopify CLI v3.61.2 only work on Node >= 18.20.0 or >= 20.10.0 like the following picture.

BSSCommerceB2B_0-1718528754142.png

 

If it helps you, please like and mark it as the solution.

Best Regards

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

Replies 3 (3)

BSSCommerce-B2B
Shopify Partner
1969 564 566

This is an accepted solution.

Hi @tomadelaney,

I just modify 'Shopify' into 'shopify' and create app execution works. Maybe you just type wrong characters. For further informations, Shopify CLI v3.61.2 only work on Node >= 18.20.0 or >= 20.10.0 like the following picture.

BSSCommerceB2B_0-1718528754142.png

 

If it helps you, please like and mark it as the solution.

Best Regards

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

tomadelaney
Shopify Partner
18 2 2

Thanks, I appreciate your reply.

My issue is deeper; CLI3 has worked flawlessly for 6 months, but it
now errors out, thinking that I am running invalid Node v20.6.0.
I'll sort it out!


 

BSSCommerce-B2B
Shopify Partner
1969 564 566

Thank you for marking my answer as a solution.

Ya, I think using the tag "latest" is quite dangerous for developers. I didn't get the issue with Shopify cli as you did but I have met version issue with other package recently while using "latest" tag because that package just has some major updates. Anw, hope you fix the issue soon.

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now