Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [FAILED: gen/ui/webui/resources/cr_components/page_image_service/eslint.config.mjs 
/usr/bin/python3 ../../ui/webui/resources/tools/eslint_ts.py --in_folder gen/ui/webui/resources/cr_components/page_image_service/preprocessed --out_folder gen/ui/webui/resources/cr_components/page_image_service --config_base ../../../../../../../../ui/webui/resources/tools/eslint_ts.config_base.mjs --tsconfig tsconfig_build_ts.json --in_files browser_proxy.ts
Traceback (most recent call last):
  File "/builddir/build/BUILD/chromium-135.0.7049.52/out/Headless/../../ui/webui/resources/tools/eslint_ts.py", line 78, in <module>
    main(sys.argv[1:])
  File "/builddir/build/BUILD/chromium-135.0.7049.52/out/Headless/../../ui/webui/resources/tools/eslint_ts.py", line 67, in main
    node.RunNode([
  File "/builddir/build/BUILD/chromium-135.0.7049.52/third_party/node/node.py", line 38, in RunNode
    raise RuntimeError('Command \'%s\' failed\n%s' % (' '.join(cmd), err))
RuntimeError: Command '/builddir/build/BUILD/chromium-135.0.7049.52/third_party/node/linux/node-linux-x64/bin/node /builddir/build/BUILD/chromium-135.0.7049.52/third_party/node/node_modules/eslint/bin/eslint --color --quiet --config gen/ui/webui/resources/cr_components/page_image_service/eslint.config.mjs gen/ui/webui/resources/cr_components/page_image_service/preprocessed/browser_proxy.ts' failed
Oops! Something went wrong! :(
ESLint: 9.20.1
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
    at new NodeError (node:internal/errors:387:5)
    at validateString (node:internal/validators:162:11)
    at Object.join (node:path:1172:7)
    at file:///builddir/build/BUILD/chromium-135.0.7049.52/out/Headless/gen/ui/webui/resources/cr_components/page_image_service/eslint.config.mjs?mtime=1743548061456:10:26
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
    at async importModuleDynamicallyWrapper (node:internal/vm/module:438:15)
    at async loadConfigFile (/builddir/build/BUILD/chromium-135.0.7049.52/third_party/node/node_modules/eslint/lib/config/config-loader.js:197:21)
    at async Function.calculateConfigArray (/builddir/build/BUILD/chromium-135.0.7049.52/third_party/node/node_modules/eslint/lib/config/config-loader.]: [the relevant error messages indicate that there's an outdated version of Node.js can indeed cause unexpected errors, especially when dealing with newer features or dependencies in tools like ESLint. The TypeError [ERR_INVALID_ARG_TYPE] related to path manipulation could arise if the older Node.js version has subtle differences in its path module implementation or if ESLint relies on newer Node.js APIs.]

Issue: the build failed due to the old nodejs (16.x)
Resolution: Update nodejs to version 22 fixes the build failure