Shopify.dev documentation - outdated requirements

Hi!

On Shopify CLI the minimum node version is still 20.10 or higher but this 4.0.0 update is not working on node 20 & 21 because of enableCompileCache NodeJS method used.

The error:

import {enableCompileCache} from 'node:module'
        ^^^^^^^^^^^^^^^^^^
SyntaxError: The requested module 'node:module' does not provide an export named 'enableCompileCache'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:134:21)

It’s not an issue with the code itself, just a quick docs update would be helpful for others :slightly_smiling_face:

I took another look, and it’s fixed now. Thanks, guys :slightly_smiling_face:

Yeah apologies it took a minute for docs to catch up!

Hi @NickWesselman If my app still using node v20 then which shopify/cli version should I upgrade to ?

Hi @huykon225, you can stay on version ^3 for now, I’m using it in some CD scripts too. :slight_smile: