title: npm ReferenceError: primordials is not defined (node.js)
body: <p>I know this question is posted many times but I tried the solutions and I can not resolve it. I am trying to work wit npm however I get this error:</p>
  <pre><code>     evalmachine.&lt;anonymous&gt;:35
      } = primordials;
          ^
      
      ReferenceError: primordials is not defined
          at evalmachine.&lt;anonymous&gt;:35:5
          at Object.&lt;anonymous&gt; (C:\Users\User\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\fs.js:11:8)
          at Module._compile (internal/modules/cjs/loader.js:1138:30)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
          at Module.load (internal/modules/cjs/loader.js:986:32)
          at Function.Module._load (internal/modules/cjs/loader.js:879:14)
          at Module.require (internal/modules/cjs/loader.js:1026:19)
          at require (internal/modules/cjs/helpers.js:72:18)
          at Object.&lt;anonymous&gt; (C:\Users\User\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:3:27)
          at Module._compile (internal/modules/cjs/loader.js:1138:30)
  </code></pre>
  <p>I can not even execute <code>npm -v </code> to see the version.
  I tried to downgrade node to version 10.
  I tried to uninstall-reinstall node so many times (From remove application settings).
  I tried to create a file called &quot;npm-shrinkwrap.json&quot; insde the npm folder where package.json exists.
  But there is no use.</p>
  <p>And I can't see an &quot;AppData&quot; folder in the &quot;Users/User&quot; path but I can access it by &quot;cd&quot; from the command line. I don't understand how it is not visible.</p>
  <p>Thank you.</p>