craigburke / karma-gradle

Gradle Plugin for Running tests with Karma
Other
21 stars 11 forks source link

:karmaDependencies'node' is not recognized as an internal or external command, #29

Open stealthrabbi opened 7 years ago

stealthrabbi commented 7 years ago

Using git bash, and using gradle (wrapper) version 3.1, on Windows 7, I get this issue.

If I run gradlew.bat from a regular cmd window, the tests run and complete.

:compileJava
:processResources
:classes
:karmaInit UP-TO-DATE
:nodeSetup
:karmaDependencies'node' is not recognized as an internal or external command,
operable program or batch file.
'node' is not recognized as an internal or external command,
operable program or batch file.
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':karmaDependencies'.
> Process 'command 'cmd'' finished with non-zero exit value 1

* 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: 58.115 secs

jgallag88 commented 7 years ago

Same issue on Windows 10 using Cygwin and Gradle 3.1