code EBADENGINE, can't use a valid version of node

The pages.dev is https://black-book.pages.dev/

Here's the error I got when trying to deploy a sveltekit project from github:
    Detected the following tools from environment: npm@9.6.7, nodejs@18.17.1
20:26:23.810    Installing project dependencies: npm clean-install --progress=false
20:26:25.049    npm ERR! code EBADENGINE
20:26:25.050    npm ERR! engine Unsupported engine
20:26:25.051    npm ERR! engine Not compatible with your version of node/npm: @eslint/config-array@0.15.1
20:26:25.051    npm ERR! notsup Not compatible with your version of node/npm: @eslint/config-array@0.15.1
20:26:25.051    npm ERR! notsup Required: {"node":"^18.18.0 || ^20.9.0 || >=21.1.0"}
20:26:25.051    npm ERR! notsup Actual:   {"npm":"9.6.7","node":"v18.17.1"}
20:26:25.053    
20:26:25.053    npm ERR! A complete log of this run can be found in: /opt/buildhome/.npm/_logs/2024-06-13T03_26_24_523Z-debug-0.log
20:26:25.062    Error: Exit with error code: 1
20:26:25.062        at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
20:26:25.062        at Object.onceWrapper (node:events:652:26)
20:26:25.062        at ChildProcess.emit (node:events:537:28)
20:26:25.062        at ChildProcess._handle.onexit (node:internal/child_process:291:12)
20:26:25.074    Failed: build command exited with code: 1

I saw another mention of this error in pages-helpError installing modules for bad env , but I've seen in a few places that 18 is not supported and it didn't work when I set an env variable of NODE_VERSION to the ones it wants.
Was this page helpful?