Ionic Build Android not work

I am trying to make my application work with ionic 3, when I do the construction it gives me error, additional that node_modules does not work correctly and in each construction it delivers different errors

Android Studio project detected

ANDROID_HOME=/usr/local/Caskroom/android-platform-tools/28.0.1
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home
studio
Subproject Path: CordovaLib
Subproject Path: app
(node:1017) UnhandledPromiseRejectionWarning: Error: spawn EACCES
at ChildProcess.spawn (internal/child_process.js:313:11)
at Object.exports.spawn (child_process.js:508:9)
at exports.spawn (/Users/user/Desktop/app-henkel/myApp/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:134:31)
at StudioBuilder.build (/Users/user/Desktop/app-henkel/myApp/platforms/android/cordova/lib/builders/StudioBuilder.js:249:12)
at /Users/user/Desktop/app-henkel/myApp/platforms/android/cordova/lib/build.js:159:24
at _fulfilled (/Users/user/Desktop/app-henkel/myApp/platforms/android/cordova/node_modules/q/q.js:854:54)
at self.promiseDispatch.done (/Users/user/Desktop/app-henkel/myApp/platforms/android/cordova/node_modules/q/q.js:883:30)
at Promise.promise.promiseDispatch (/Users/user/Desktop/app-henkel/myApp/platforms/android/cordova/node_modules/q/q.js:816:13)
at /Users/user/Desktop/app-henkel/myApp/platforms/android/cordova/node_modules/q/q.js:624:44
at runSingle (/Users/user/Desktop/app-henkel/myApp/platforms/android/cordova/node_modules/q/q.js:137:13)
(node:1017) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:1017) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

li packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0

local packages:

    @ionic/app-scripts : 3.2.2
    Cordova Platforms  : android 7.0.0 browser 5.0.4 ios 4.5.5
    Ionic Framework    : ionic-angular 3.9.5

System:

    Node  : v8.15.0
    npm   : 6.4.1
    OS    : macOS
    Xcode : Xcode 10.2.1 Build version 10E1001

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro