POS-Awesome-V15 installation error: Node version mismatch

Hi everyone,

I am trying to install POS-Awesome-V15 in my Frappe v15 setup.

When I run:

bench get-app https://github.com/defendicon/POS-Awesome-V15.git 

I get the following error:

error @semantic-release/commit-analyzer@13.0.1: The engine "node" is incompatible with this module. 
Expected version ">=20.8.1". Got "18.20.8"
error Found incompatible module.
ERROR: yarn install --check-files
subprocess.CalledProcessError: Command 'yarn install --check-files' returned non-zero exit status 1.

My environment:

  • Frappe v15 (development, not production)
  • ERPNext v15
  • Node.js v18.20.8
  • Yarn v1.22.22

It looks like POS-Awesome requires Node >= 20, but the bench is currently running on Node 18.

:point_right: Should I upgrade Node.js to v20 to make this work, or is there a compatible version of POS-Awesome for Node 18?
:point_right: Also, do I need to manually delete the failed POS-Awesome-V15 app folder before retrying?

Any guidance will be appreciated :pray:

Thanks,
Saad

If you used the python installer use flag -n 20

I have already install frappe bench any other solution

rm -rf frappe-bench
This will delete the bench or if you would like to keep it, create another bench with the installer. Specify new directory name with -b flag. Since it is a dev server and you start the bench manually from the bench dir it shouldn’t matter.

Full command:
python installer.py -n 20 -d mariadb -b frappe-bench-2 -s dev2.localhost
cd frappe-bench-2
bench use dev2.localhost

Note: I used dev2.localhost to avoid confusion when having two benches.

Hope this helps