Error Installiing from Command Line

Can you check /home/frappe/frappe-bench/npm-debug.log?
Also, try to setup nodejs again by running bench setup socketio (from frappe-bench dir)