Try using these commands on a command line
cd ~/.node-red npm uninstall -g node-red-node-twitter --save
cd ~/.node-red
npm uninstall -g node-red-node-twitter --save