title: npm - Object function Object() { [native code] } has no method 'assign'
body: <p>First of all, I did see the similar documents:</p>
  
  <p><a href="https://stackoverflow.com/questions/40477678/node-js-typeerror-object-function-object-native-code-has-no-method-ass">Node.js TypeError: Object function Object() { [native code] } has no method &#39;assign&#39;</a></p>
  
  <p><a href="https://stackoverflow.com/questions/20079080/typeerror-object-function-object-native-code-has-no-method-method">TypeError: Object function Object() { [native code] } has no method &#39;method&#39;</a></p>
  
  <p>However..</p>
  
  <p>I am using node version 0.10.48 (my app uses deprecated node api so I rather stay on this version).</p>
  
  <p>whenever I try to install a new module, or even run scripts that require modules, I receive the following error:
  typeerror object function object() native code has no method 'assign'</p>
  
  <p>I cannot even use npm v  or npm install/uninstall..</p>
  
  <p>How do I get rid of this error? I simply cannot do anything on the terminal :(</p>