Skip to content
This repository has been archived by the owner on Jul 17, 2022. It is now read-only.

Error parsing paths? #11

Closed
maxim-grishaev opened this issue May 15, 2013 · 6 comments
Closed

Error parsing paths? #11

maxim-grishaev opened this issue May 15, 2013 · 6 comments

Comments

@maxim-grishaev
Copy link

dhcp174-64-red:context grishaev$ grunt notify:watch
Running "notify:watch" (notify) task
Warning: Command failed: /bin/sh: /Users/grishaev/Yandex: No such file or directory
 Use --force to continue.

Aborted due to warnings.
dhcp174-64-red:context grishaev$ pwd
/Users/grishaev/Yandex Direct/context

Gruntfile.js:

        notify: {
            watch: {
                options: {
                    title: 'Yandex Direct',
                    message: '"_context*" files are built'
                }
            }
        },
@dylang
Copy link
Owner

dylang commented May 28, 2013

Sorry for taking so long to reply - wife had a baby!

I'm not sure what's causing this. Where do you have notify-send in your path?

Thanks for including this example.I don't get the error you get but I'm on a Mac.

@dylang
Copy link
Owner

dylang commented Aug 18, 2013

I just released Grunt-Notify 0.2.8 - it should hopefully address this issue. Let me know if you run into this again or other issues. Thanks for your support.

@dylang dylang closed this as completed Aug 18, 2013
@maxim-grishaev
Copy link
Author

Hello! Congratulations about your baby =)
Well, about the issue, it still present: note the space in path

dhcp174-64-red:pcode grishaev$ pwd
/Users/grishaev/Yandex Direct/pcode

dhcp174-64-red:pcode grishaev$ grunt notify
Running "notify:watch" (notify) task
Warning: Command failed: /bin/sh: /Users/grishaev/Yandex: No such file or directory
 Use --force to continue.
Aborted due to warnings.

dhcp174-64-red:pcode grishaev$ npm view grunt-notify version
0.2.9

@dylang
Copy link
Owner

dylang commented Aug 18, 2013

@KidsKilla thanks for pasting the output. Can update to the latest version (npm update) and run grunt notify --debug to get more information about the lack of notifications?

@maxim-grishaev
Copy link
Author

dhcp174-64-red:pcode grishaev$ npm update
npm WARN package.json uglify-js@2.2.5 No repository field.
npm WARN package.json uglify-js@2.2.5 'repositories' (plural) Not supported.
npm WARN package.json Please pick one as the 'repository' field

dhcp174-64-red:pcode grishaev$ grunt notify --debug
Running "notify:watch" (notify) task
[D] Task source: /Users/grishaev/Yandex Direct/pcode/node_modules/grunt-notify/tasks/notify.js
[D] Notify options: { title: 'Yandex Direct',
  message: '"_context*" files are built' }
[D] notify result: { err: 
   { [Error: Command failed: /bin/sh: /Users/grishaev/Yandex: No such file or directory
   ] killed: false, code: 127, signal: null },
  stdout: '',
  stderr: '/bin/sh: /Users/grishaev/Yandex: No such file or directory\n' }
Warning: Command failed: /bin/sh: /Users/grishaev/Yandex: No such file or directory
 Use --force to continue.

Aborted due to warnings.

@dylang
Copy link
Owner

dylang commented Aug 18, 2013

Thanks @KidsKilla. It looks like you are still using an older version of grunt-notify. Since npm update didn't update it, try npm install grunt-notify to install it again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants