<h1 dir="auto">What / Why</h1>

<blockquote>
<p dir="auto">NPM failed to install some package dependencies<br>
It failed during installation of <code class="notranslate">fsevents</code> package</p>
</blockquote>
<h2 dir="auto">When</h2>

<ul dir="auto">
<li>today?</li>
</ul>
<h2 dir="auto">Where</h2>

<ul dir="auto">
<li>n/a</li>
</ul>
<h2 dir="auto">How</h2>
<h3 dir="auto">Current Behavior</h3>

<ul dir="auto">
<li>Fails in middle of <code class="notranslate">npm install</code></li>
</ul>
<h3 dir="auto">Steps to Reproduce</h3>

<ul dir="auto">
<li>try installing a package that depends on fsevents</li>
</ul>
<h3 dir="auto">Expected Behavior</h3>

<ul dir="auto">
<li>should install just fine</li>
</ul>
<h2 dir="auto">Who</h2>

<ul dir="auto">
<li>n/a</li>
</ul>
<h2 dir="auto">References</h2>

<ul dir="auto">
<li>n/a</li>
</ul>
<h2 dir="auto">Logs</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ananta@debian:~/PROJECTS/unit3d-test$ npm install --verbose --no-optional
npm info it worked if it ends with ok
npm verb cli [
npm verb cli   '/home/ananta/.nvm/versions/node/v13.11.0/bin/node',
npm verb cli   '/home/ananta/.nvm/versions/node/v13.11.0/bin/npm',
npm verb cli   'install',
npm verb cli   '--verbose',
npm verb cli   '--no-optional'
npm verb cli ]
npm info using npm@6.13.7
npm info using node@v13.11.0
npm verb npm-session 98f4aa45dbec2486
npm info lifecycle @~preinstall: @
npm timing stage:loadCurrentTree Completed in 16ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 1061ms
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 1609ms
npm timing stage:loadIdealTree Completed in 3122ms
npm timing stage:generateActionsToTake Completed in 846ms
npm verb correctMkdir /home/ananta/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /home/ananta/.npm/_locks/staging-f8b184b98acc8f8d.lock for /home/ananta/PROJECTS/unit3d-test/node_modules/.staging
npm http fetch GET 304 http://registry.npmjs.org/emojione-assets 1976ms (from cache)
npm timing npm Completed in 562914ms
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     &lt;https://npm.community&gt;

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ananta/.npm/_logs/2020-04-10T08_01_52_782Z-debug.log
ananta@debian:~/PROJECTS/unit3d-test$ "><pre class="notranslate"><code class="notranslate">ananta@debian:~/PROJECTS/unit3d-test$ npm install --verbose --no-optional
npm info it worked if it ends with ok
npm verb cli [
npm verb cli   '/home/ananta/.nvm/versions/node/v13.11.0/bin/node',
npm verb cli   '/home/ananta/.nvm/versions/node/v13.11.0/bin/npm',
npm verb cli   'install',
npm verb cli   '--verbose',
npm verb cli   '--no-optional'
npm verb cli ]
npm info using npm@6.13.7
npm info using node@v13.11.0
npm verb npm-session 98f4aa45dbec2486
npm info lifecycle @~preinstall: @
npm timing stage:loadCurrentTree Completed in 16ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 1061ms
npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 1609ms
npm timing stage:loadIdealTree Completed in 3122ms
npm timing stage:generateActionsToTake Completed in 846ms
npm verb correctMkdir /home/ananta/.npm/_locks correctMkdir not in flight; initializing
npm verb lock using /home/ananta/.npm/_locks/staging-f8b184b98acc8f8d.lock for /home/ananta/PROJECTS/unit3d-test/node_modules/.staging
npm http fetch GET 304 http://registry.npmjs.org/emojione-assets 1976ms (from cache)
npm timing npm Completed in 562914ms
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     &lt;https://npm.community&gt;

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ananta/.npm/_logs/2020-04-10T08_01_52_782Z-debug.log
ananta@debian:~/PROJECTS/unit3d-test$ 
</code></pre></div>
<h3 dir="auto">Last few lines of debug.log</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="16995 silly extract es-abstract@1.17.5 extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/es-abstract-fadff1e1 (5857ms)
16996 silly extract collect.js@4.20.3 extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/collect.js-584c6c61 (1565ms)
16997 silly extract es5-ext@0.10.52 extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/es5-ext-7071914d (7239ms)
16998 silly extract lodash@4.17.15 extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/lodash-f9e1c64d (3434ms)
16999 silly extract caniuse-lite@1.0.30001038 extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/caniuse-lite-5af91014 (1916ms)
17000 silly extract fsevents@1.2.11 extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/fsevents-c428c5f0 (2638ms)
17001 timing npm Completed in 562914ms
17002 error cb() never called!
17003 error This is an error with npm itself. Please report this error at:
17004 error &lt;https://npm.community&gt;"><pre class="notranslate"><code class="notranslate">16995 silly extract es-abstract@1.17.5 extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/es-abstract-fadff1e1 (5857ms)
16996 silly extract collect.js@4.20.3 extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/collect.js-584c6c61 (1565ms)
16997 silly extract es5-ext@0.10.52 extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/es5-ext-7071914d (7239ms)
16998 silly extract lodash@4.17.15 extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/lodash-f9e1c64d (3434ms)
16999 silly extract caniuse-lite@1.0.30001038 extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/caniuse-lite-5af91014 (1916ms)
17000 silly extract fsevents@1.2.11 extracted to /home/ananta/PROJECTS/unit3d-test/node_modules/.staging/fsevents-c428c5f0 (2638ms)
17001 timing npm Completed in 562914ms
17002 error cb() never called!
17003 error This is an error with npm itself. Please report this error at:
17004 error &lt;https://npm.community&gt;
</code></pre></div>
<h3 dir="auto">*Updated* as of 01/15/2021</h3>
<p dir="auto"><strong>Note: Please read <a href="https://github.com/npm/cli/wiki/%22cb()-never-called%3F-Exit-handler-never-called%3F-I'm-having-the-same-problem!%22">this doc</a> before filing a new issue.</strong></p>