Also can you run npm list agent-base in your Node-RED userDIR (probably ~/.node-red) and paste the output please
npm list agent-base