title: Why I got Error while Creating React App?
body: <p>I was new and want to learn ReactJS and I start to install a new empty folder with <code>npx create-react-app .</code> command. I have npm v.6.4.1. and when I try to execute the command, it gave me an error.</p>
  
  <pre><code>Error: EPERM: operation not permitted, mkdir 'C:\Users\LOGIVAR'
  TypeError: Cannot read property 'get' of undefined
      at errorHandler (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205:18)
      at C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js:78:20
      at cb (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:228:22)
      at C:\Program Files\nodejs\node_modules\npm\lib\npm.js:266:24
      at C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:83:7
      at Array.forEach (&lt;anonymous&gt;)
      at C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:82:13
      at f (C:\Program Files\nodejs\node_modules\npm\node_modules\once\once.js:25:25)
      at afterExtras (C:\Program Files\nodejs\node_modules\npm\lib\config\core.js:173:20)
      at C:\Program Files\nodejs\node_modules\npm\node_modules\mkdirp\index.js:47:53
  C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205
    if (npm.config.get('json')) {
                   ^
  
  TypeError: Cannot read property 'get' of undefined
      at process.errorHandler (C:\Program Files\nodejs\node_modules\npm\lib\utils\error-handler.js:205:18)
      at process.emit (events.js:182:13)
      at process._fatalException (internal/bootstrap/node.js:485:27)
  Install for create-react-app@latest failed with code 7
  </code></pre>
  
  <p>I already do the same command on Laravel empty project, but I still gives me the same error.</p>
  
  <p>Can you tell me what's the main cause problem and how to fix this?</p>
  
  <p><em>EDIT:</em> I already run the terminal as administrator, but I receive another error:</p>
  
  <pre><code>npm ERR! code ENOLOCAL
  npm ERR! Could not install from "2\AppData\Roaming\npm-cache\_npx\10552" as it does not contain a package.json file.
  
  npm ERR! A complete log of this run can be found in:
  npm ERR!     C:\Users\LOGIVAR TY 2\AppData\Roaming\npm-cache\_logs\2019-01-23T04_18_56_036Z-debug.log
  Install for create-react-app@latest failed with code 1
  </code></pre>