dylang / grunt-notify

Automatic Notifications when Grunt tasks fail.
https://npmjs.org/package/grunt-notify
MIT License
921 stars 73 forks source link

grunt-notify not showing message on growl, and showing a return_code of 4294967295 #104

Open karlcassar opened 9 years ago

karlcassar commented 9 years ago

If I try to execute grunt notify with a task of:

angular: {
    options: {
        title: 'Task', 
        message: 'Angular'
    }
}

It does not work and I get back a result as:

[growl] args: /i:C:\tfs2013\XXXXXXX\node_modules\grunt-notify\images\grunt- logo.png Angular /t:Task [growl] return_code: 4294967295

However, I tried running growlnotify.com manually from the command line and it worked fine.

Any ideas? Apparently, I'm not the only one - This StackOverflow question shows exactly my same problem: http://stackoverflow.com/questions/30095436/why-do-i-get-an-error-code-from-growl-when-using-grunt-notify

JCherryhomes commented 8 years ago

Also getting the same return code

Running "notify:finished" (notify) task
Verifying property notify.finished exists in config...OK
File: [no files]
Options: title="Complete", message="Build finished successfully.", enabled
>> [grunt-notify] growl: C:\Program Files (x86)\Growl for Windows\growlnotify.COM
>> [growl] cmd: growlnotify
>> [growl] args: /i:C:\****\node_modules\grunt-notify\images\grunt-logo.png  Build finished successfully. /t:Complete
>> [growl] return_code: 4294967295

    Done, without errors.

When I try to run that command from the command line I get a message saying: "Bad arguments : An item with the same key has already been added."

When I put quotes around the text then the error goes away and i get the notification > growlnotify /i:C:\****\grunt-logo.png "Build finished succefully." /t:"Complete"

rquadling commented 8 years ago

https://github.com/dylang/grunt-notify/pull/113