title: npm ERR! Object for dependency "@babel/core" is empty
body: <p><a href="https://i.stack.imgur.com/7H25Z.png" rel="noreferrer"><img src="https://i.stack.imgur.com/7H25Z.png" alt="enter image description here" /></a></p>
  <p>Any idea what to do? I don't have any, other than trying what it says there, &quot;npm install&quot; (which produces exactly the same error...) and googling, and there doesn't seem to be an answer here in stackoverflow.</p>
  <p>Your help is appreciated, since I'm a beginner with npm, and overly frustrated month after month...</p>
  <p>This is the &quot;complete log&quot; it's referred to in the error:</p>
  <pre class="lang-none prettyprint-override"><code>0 info it worked if it ends with ok
  1 verbose cli [
  1 verbose cli   'C:\\Program Files\\nodejs\\node.exe',
  1 verbose cli   'C:\\Users\\Daniel\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
  1 verbose cli   'install'
  1 verbose cli ]
  2 info using npm@6.14.9
  3 info using node@v14.15.2
  4 verbose npm-session 0f25ee095e558051
  5 silly install runPreinstallTopLevelLifecycles
  6 silly preinstall react-player@0.1.0
  7 info lifecycle react-player@0.1.0~preinstall: react-player@0.1.0
  8 silly install loadCurrentTree
  9 silly install readLocalPackageData
  10 timing stage:loadCurrentTree Completed in 4777ms
  11 silly install loadIdealTree
  12 silly install cloneCurrentTreeToIdealTree
  13 timing stage:loadIdealTree:cloneCurrentTree Completed in 50ms
  14 silly install loadShrinkwrap
  15 timing stage:rollbackFailedOptional Completed in 1ms
  16 timing stage:runTopLevelLifecycles Completed in 4937ms
  17 silly saveTree react-player@0.1.0
  18 verbose stack Error: Object for dependency &quot;@babel/core&quot; is empty.
  18 verbose stack Something went wrong. Regenerate the package-lock.json with &quot;npm install&quot;.
  18 verbose stack If using a shrinkwrap, regenerate with &quot;npm shrinkwrap&quot;.
  18 verbose stack     at C:\Users\Daniel\AppData\Roaming\npm\node_modules\npm\lib\install\inflate-shrinkwrap.js:60:29
  18 verbose stack     at tryCatcher (C:\Users\Daniel\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\util.js:16:23)
  18 verbose stack     at Object.gotValue (C:\Users\Daniel\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\reduce.js:155:18)
  18 verbose stack     at Object.gotAccum (C:\Users\Daniel\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\reduce.js:144:25)
  18 verbose stack     at Object.tryCatcher (C:\Users\Daniel\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\util.js:16:23)
  18 verbose stack     at Promise._settlePromiseFromHandler (C:\Users\Daniel\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\promise.js:517:31)
  18 verbose stack     at Promise._settlePromise (C:\Users\Daniel\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\promise.js:574:18)
  18 verbose stack     at Promise._settlePromiseCtx (C:\Users\Daniel\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\promise.js:611:10)
  18 verbose stack     at _drainQueueStep (C:\Users\Daniel\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\async.js:142:12)
  18 verbose stack     at _drainQueue (C:\Users\Daniel\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\async.js:131:9)
  18 verbose stack     at Async._drainQueues (C:\Users\Daniel\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\async.js:147:5)
  18 verbose stack     at Immediate.Async.drainQueues (C:\Users\Daniel\AppData\Roaming\npm\node_modules\npm\node_modules\bluebird\js\release\async.js:17:14)
  18 verbose stack     at processImmediate (internal/timers.js:461:21)
  19 verbose cwd C:\Users\Daniel\Programming\Creative React-Redux\Chapter 3\react-player
  20 verbose Windows_NT 10.0.19041
  21 verbose argv &quot;C:\\Program Files\\nodejs\\node.exe&quot; &quot;C:\\Users\\Daniel\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js&quot; &quot;install&quot;
  22 verbose node v14.15.2
  23 verbose npm  v6.14.9
  24 error Object for dependency &quot;@babel/core&quot; is empty.
  24 error Something went wrong. Regenerate the package-lock.json with &quot;npm install&quot;.
  24 error If using a shrinkwrap, regenerate with &quot;npm shrinkwrap&quot;.
  25 verbose exit [ 1, true ]
  </code></pre>
  <p>Thank you.</p>