error cb() never called! -- docker image node:10.15.3-alpine, npm 6.4.1, process.env Linux

What I Wanted to Do

Execute npm i

  • rm -rf node_modules
  • npm i

expected successful install of packages

success with npm install

/app/client/uikit # npm install
npm WARN deprecated @semantic-release/condition-travis@7.1.4: Use semantic-release@12.0.0 instead
npm WARN deprecated travis-deploy-once@4.4.1: We recommend to use Travis Build Stages instead
npm WARN deprecated github@13.1.1: 'github' has been renamed to '@octokit/rest' (https://git.io/vNB11)

> pre-commit@1.2.2 install /app/client/uikit/node_modules/pre-commit
> node install.js


> pre-push@0.1.1 install /app/client/uikit/node_modules/pre-push
> node install.js


> spawn-sync@1.0.15 postinstall /app/client/uikit/node_modules/spawn-sync
> node postinstall

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1451 packages from 1729 contributors in 307.601s

What Happened Instead

...
21210 silly extract fsevents@1.1.2 extracted to /app/client/uikit/node_modules/.staging/fsevents-fb7a165c (102845ms)
21211 timing npm Completed in 266631ms
21212 error cb() never called!
21213 error This is an error with npm itself. Please report this error at:
21214 error <https://npm.community>

Reproduction Steps

rm -rf node_modules
npm i
...
21210 silly extract fsevents@1.1.2 extracted to /app/client/uikit/node_modules/.staging/fsevents-fb7a165c (102845ms)
21211 timing npm Completed in 266631ms
21212 error cb() never called!
21213 error This is an error with npm itself. Please report this error at:
21214 error <https://npm.community>

Details

debug log:

package-lock.json

Platform Info

/app/client/uikit # node -v
v10.15.3
/app/client/uikit # npm -v
6.4.1
/app/client/uikit # node -p process.platform
linux

@codeangler, this is likely a ulimit issue; what’s your nofile (number of open files) limit; ulimit -nH/ulimit -aH?

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.