Changing node version
sudo npm cache clean -f
sudo npm install -g n
sudo n 5.1.0
Changing npm version
npm install -g npm@2.4.0
Changing node version
sudo npm cache clean -f
sudo npm install -g n
sudo n 5.1.0
Changing npm version
npm install -g npm@2.4.0
Hi friends
I had the same problem using the NPM 3.2 and NODE 6.10 versions with an OPI Lite.
For fix I downgrade the versions to NODE 5.10 and NPM 2.4, run the installation again and everything works fine.