Error during building on Android


#1

Hey guys,

can not build the application on android, iOS is possible. Get the following error in the npm log:

   0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\User1s\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'run',
1 verbose cli   'build' ]
2 info using npm@3.10.7
3 info using node@v4.6.0
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle NewApp@~prebuild: NewApp@
6 silly lifecycle NewApp@~prebuild: no script for prebuild, continuing
7 info lifecycle NewApp@~build: NewApp@
8 verbose lifecycle NewApp@~build: unsafe-perm in lifecycle true
9 verbose lifecycle NewApp@~build: PATH: C:\Users\User1s\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin;C:\Users\User1s\Desktop\Development\TestApp\node_modules\.bin;C:\Users\User1s\Anaconda3\; ......... C:\Users\User1s\AppData\Roaming\npm;C:\apache-ant-1.9.7\bin
10 verbose lifecycle NewApp@~build: CWD: C:\Users\User1s\Desktop\Development\TestApp
11 silly lifecycle NewApp@~build: Args: [ '/d /s /c', 'ionic-app-scripts build' ]
12 silly lifecycle NewApp@~build: Returned: code: 1  signal: null
13 info lifecycle NewApp@~build: Failed to exec build script
14 verbose stack Error: NewApp@ build: `ionic-app-scripts build`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (C:\Users\User1s\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:255:16)
14 verbose stack     at emitTwo (events.js:87:13)
14 verbose stack     at EventEmitter.emit (events.js:172:7)
14 verbose stack     at ChildProcess.<anonymous> (C:\Users\User1s\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:87:13)
14 verbose stack     at ChildProcess.emit (events.js:172:7)
14 verbose stack     at maybeClose (internal/child_process.js:829:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid NewApp@
16 verbose cwd C:\Users\User1s\Desktop\Development\TestApp
17 error Windows_NT 10.0.14393
18 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\User1s\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
19 error node v4.6.0
20 error npm  v3.10.7
21 error code ELIFECYCLE
22 error NewApp@ build: `ionic-app-scripts build`
22 error Exit status 1
23 error Failed at the NewApp@ build script 'ionic-app-scripts build'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the NewApp package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     ionic-app-scripts build
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs NewApp
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls NewApp
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

Does anyone have an idea where the error is located?