Grunt.js Watch Bus Error Caused By Maverick Upgrade
Alright so with the recent upgrade to OSX Mavericks I discovered that every time I saved a file while grunt watch was running I would be thrown a bus error with a seemingly ambiguous number attached to it. After some digging and trial and error I finally decided to check my Node.js version. It was version 10.20. The latest stable release and the time or writing this is 10.22 and resolved the issue.
To upgrade to the latest stable version:
# Check your version of Node.js. v0.10.20 will still be broken
node –v
# clean your node cache
sudo npm cache clean –f
# install node binary manager ’n’
sudo npm install -g n
# use said ’n’ manager to install latest stable version
sudo n stable
Source :http://stephentvedt.com/blog/2013/11/16/grunt-js-watch-bus-error/
Written by Stephen Tvedt
Related protips
2 Responses
I also had a similar issue; nice job noticing the update.
over 1 year ago
·
Glad to be of some help!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#