Bus Error When Grunt Watch - Update Your Node

I was using grunt watch for less, and encountred a kind of bus error:

Running "watch" task
Waiting...[1]    54136 bus error  grunt --stack

Turned out it is due to node version.

This is what you can do to update your node version to a latest stable version, using n (a node version management).

sudo npm cache clean –f
sudo npm install -g n
sudo n stable

As of writing, node -v now gives me v0.10.26, and I can run grunt without the bus collision error.

Comments