How to build jar products?

when I run app:bootjar it always installs the node package, but when installing an error like this, and it makes the app:bootjar task stop working