Error on npm install

The following error occurred when running npm install:
"error Arguments to path.join must be strings"

The fix is to update to the latest stable version of bower.