apm
apm copied to clipboard
npm test fails with no detail
ubuntu 14.04 node 5.8.0 npm 3.7.3
> [email protected] test /home/kahrens/dev/apm
> grunt test
Running "clean" task
Running "coffee:glob_to_multiple" (coffee) task
>> 41 files created.
Running "coffeelint:src" (coffeelint) task
>> 41 files lint free.
Running "coffeelint:test" (coffeelint) task
>> 24 files lint free.
Running "coffeelint:gruntfile" (coffeelint) task
>> 1 file lint free.
Running "shell:test" (shell) task
....Warning: Command failed: node node_modules/jasmine-focused/bin/jasmine-focused --captureExceptions --coffee spec
Use --force to continue.
Aborted due to warnings.
npm ERR! Test failed. See above for more details.
I tried adding verbose and running jasmine-focused directly, but it simply ends immediately with no console log message. The process is returning exit code of 1 which is I guess why grunt is calling that a failure. But why it returns 1 is a bit of a mystery.
$ node node_modules/jasmine-focused/bin/jasmine-focused --verbose --captureExceptions --coffee spec
$ echo $?
1
$
Any thoughts?
I am running into this issue. Any insights into what was happening?