[the native scipt] Build for android error

When I type tns7 build android, I’ve got:

Copying template files…
**Command npm failed with exit code 1

**tns7 script looks like this:

#!/bin/bash

export JAVA_HOME=/usr/lib64/jvm/java-1.8.0
export JAVA_BINDIR=/usr/lib64/jvm/java-1.8.0/bin/
export JAVA_ROOT=/usr/lib64/jvm/java-1.8.0

/usr/local/bin/tns $*

I try to remove hooks and node_modules, install different version of node using sudo n command, changing npm versions, etc. Always the same. Also, using different version of native script (ns command) gives different result, but still error.