output error with bin/cmd.js