Update install.js to output the error returned