Error in npm module installation

Error in npm module installation
0.0 0

#1

When I am trying to install the module I am getting this error

npm ERR! Buffer.alloc is not a function

npm ERR! A complete log of this run can be found in:
npm ERR! /home/saurabh/.npm/_logs/2017-09-06T15_27_56_529Z-debug.log

Please help me to resolve this.


#2

This might be related. You probably have to upgrade your version of node.