title: How to solve npm ERR! code ERR_INVALID_OPT_VALUE
body: <p>I went to install nodejs and npm on Debian9 like this with the root account because npm is not included in the legacy debian package :</p>
  
  <pre><code>curl -sL https://deb.nodesource.com/setup_8.x | bash -
      .../...
  ## Run `apt-get install nodejs` (as root) to install Node.js v8.x and npm
  
  :~# 
  :~# apt-get install -y nodejs
  </code></pre>
  
  <p>Now I would like to install some module with npm or to do the update of npm and I've got this error message  </p>
  
  <pre><code>:~# npm cache clean -f
  npm WARN using --force I sure hope you know what you are doing.
  
  :~#  npm install -g npm
  npm ERR! code ERR_INVALID_OPT_VALUE
  npm ERR! The value "4294967295" is invalid for option "family"
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     /root/.npm/_logs/2018-03-29T11_17_37_357Z-debug.log
  </code></pre>
  
  <p>Here the link to the debug log file  : <a href="https://justpaste.it/1ixb0" rel="nofollow noreferrer">Justpasteit</a></p>
  
  <p>Thanks for any help</p>