Set User Agent for Node.js 0.8.1 through 0.8.18
If running a Node.js version between 0.8.1 and 0.8.18, inclusive, you need to set the
user-agent npm
property before you run the npm install
command.
The syntax is:
npm config set user-agent "node/<version> {linux|darwin} {x64|i86}"
For example:
npm config set user-agent “node/v0.8.14 linux x64"