Grunt Notify Failure on MacOS

I work with a rather complicated existing software system that is based on MacOS. It is built using Maven. In the past, the assembly worked correctly and currently works for others on my team, so this indicates what I did locally to cause the crash. I recently had to reinstall npm, grunt and bower. Right now there is a clean installation of all three on my machine. When it gets to the part that uses grunt notify, I get a fatal error:

>> npm Fatal error: spawn /private/tmp/git-repo/lumify-data/lumify-public/web/war/src/main/webapp/node_modules/grunt-notify/lib/platforms../bin/Grunt.app/Contents/MacOS/Grunt ENOENT

Grunt-notify installs and works when I run it from the command line. Can someone point me to the side where to even look? Is there a configuration file lying somewhere that I missed?

+4
source share
1 answer

I had the same problem when I updated node / npm. You can see that this was discussed here - the problem is due to the wrong paths: https://github.com/dylang/grunt-notify/issues/118

They fixed it, so you need to update the version of grunt-notify notification that you use in your package. json: "grunt-notify": "^ 0.4.5"

Then do: npm uninstall grunt-notify npm install grunt-notify

+2
source

All Articles