The engine "node" is incompatible with this module

Hello ,

During the installation of Frappe
When you run the following command

bench init frappe-bench --frappe-branch version-14

Do you encounter the following error?

error frappe-framework@: The engine "node" is incompatible with this module. Expected version ">=14". Got "12.22.9"
error Found incompatible module.
info Visit for documentation about this command.
subprocess.CalledProcessError: Command 'yarn install --check-files' returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/bench/commands/", line 75, in init
  File "/usr/local/lib/python3.10/dist-packages/bench/utils/", line 105, in wrapper_fn
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/bench/utils/", line 87, in init
  File "/usr/local/lib/python3.10/dist-packages/bench/", line 777, in get_app
    app.install(verbose=verbose, skip_assets=skip_assets, restart_bench=restart_bench)
  File "/usr/local/lib/python3.10/dist-packages/bench/utils/", line 126, in wrapper_fn
    return fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/bench/", line 254, in install
  File "/usr/local/lib/python3.10/dist-packages/bench/", line 920, in install_app, cwd=app_path)
  File "/usr/local/lib/python3.10/dist-packages/bench/", line 48, in run
    return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
  File "/usr/local/lib/python3.10/dist-packages/bench/utils/", line 178, in exec_cmd
    raise CommandFailedError(cmd) from subprocess.CalledProcessError(return_code, cmd)
bench.exceptions.CommandFailedError: yarn install --check-files

ERROR: There was a problem while creating frappe-bench

I solved the problem with these commands

udo npm cache clean -f
sudo npm install -g n
sudo n stable
sudo n latest

Using this command
Version 16 was installed

sudo apt install curl 
curl | bash
source ~/.profile
nvm install 16

But after solving the problem, version v22.3.0 was installed

Will it not cause this problem in the future?