Error bench init frappe-bench

getting the following error

yarn install v1.22.19
[1/5] Validating package.json…
error frappe-framework@: The engine “node” is incompatible with this module. Expected version “>=18”. Got “14.15.0”
error Found incompatible module.
info Visit yarn install | Yarn for documentation about this command.

Hi @Khizar,

Please try it.

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash

nvm install 18.16.1

nvm use 18.16.1

node -v

then check it.

Thank You!

1 Like

Hi @NCP ,

Thank you for the advice.