watson-developer-cloud / assistant-with-discovery

DEPRECATED: this application is deprecated and thus will not receive fixes or security updates. It is archived for educational purposes, but may not function.
Apache License 2.0
145 stars 340 forks source link

Gradlew build failed #124

Closed Piflyer closed 6 years ago

Piflyer commented 6 years ago

Hi, When I was using the script ./gradlew build, on my Raspberry Pi 3B, it came with this

:sourcesJar

:cleanWar
:nodeSetup UP-TO-DATE
:installGulp/home/pi/assistant-with-discovery/.gradle/nodejs/node-v4.4.7-linux-x86/bin/node: 1: /home/pi/assistant-with-discovery/.gradle/nodejs/node-v4.4.7-linux-x86/bin/node: Syntax error: "(" unexpected
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':installGulp'.
 Process 'command '/home/pi/assistant-with-discovery/.gradle/nodejs/node-v4.4.7-linux-x86/bin/node'' finished with non-zero exit value 2

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 18.287 secs` Is there any way to stop it, or make it work? Thanks.
Oliver-I commented 6 years ago

@stevenpkg Can you look at this?

stevenpkg commented 6 years ago

It looks like Gulp did not install, look at the build.gradle and check Gulp version and support for you device.

germanattanasio commented 6 years ago

I think you need to have Node installed in the Raspberry PI

Piflyer commented 6 years ago

ok