[BUG] cb() never called!
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
When I execute npm install or npm update I get an error. cb() never called.
Log file:
0 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'update' ]
1 info using [email protected]
2 info using [email protected]
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 1ms
5 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
6 timing config:load:builtin Completed in 1ms
7 timing config:load:cli Completed in 0ms
8 timing config:load:env Completed in 1ms
9 timing config:load:file:/Users/nurio/Documents/********/*****/*****/.npmrc Completed in 0ms
10 timing config:load:project Completed in 0ms
11 timing config:load:file:/Users/nurio/.npmrc Completed in 0ms
12 timing config:load:user Completed in 0ms
13 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
14 timing config:load:global Completed in 0ms
15 timing config:load:validate Completed in 1ms
16 timing config:load:setEnvs Completed in 0ms
17 timing config:load Completed in 4ms
18 timing npm:load:configload Completed in 4ms
19 timing npm:load:setTitle Completed in 0ms
20 timing npm:load:setupLog Completed in 1ms
21 timing npm:load:cleanupLog Completed in 2ms
22 timing npm:load:configScope Completed in 0ms
23 timing npm:load:projectScope Completed in 0ms
24 timing npm:load Completed in 9ms
25 timing config:load:flatten Completed in 1ms
26 timing arborist:ctor Completed in 0ms
27 timing idealTree:init Completed in 8ms
28 timing idealTree:userRequests Completed in 0ms
29 silly idealTree buildDeps
30 silly fetch manifest [email protected]
31 timing arborist:ctor Completed in 0ms
32 http fetch GET 200 https://registry.npmjs.org/eslint 1482ms
33 silly fetch manifest [email protected]
34 http fetch GET 200 https://registry.npmjs.org/eslint-config-next 1521ms
35 silly fetch manifest [email protected]
36 http fetch GET 200 https://registry.npmjs.org/next 14026ms
37 silly fetch manifest fibers@>= 3.1.0
38 http fetch GET 304 https://registry.npmjs.org/fibers 80ms (from cache)
39 silly fetch manifest node-sass@^4.0.0 || ^5.0.0
40 http fetch GET 304 https://registry.npmjs.org/node-sass 121ms (from cache)
41 silly fetch manifest [email protected]
42 http fetch GET 200 https://registry.npmjs.org/react 1563ms
43 silly fetch manifest [email protected]
44 http fetch GET 200 https://registry.npmjs.org/react-dom 1313ms
45 silly fetch manifest sass@^1.3.0
46 http fetch GET 200 https://registry.npmjs.org/sass 1044ms
47 silly fetch manifest typescript@>=3.3.1
48 timing npm Completed in 26418ms
49 error cb() never called!
50 error This is an error with npm itself. Please report this error at:
51 error <https://github.com/npm/cli/issues>
Expected Behavior
The normal npm install behavior.
Steps To Reproduce
I didn't do nothing special. Just cloned a work collage repository.
Environment
- OS: MacOs 11.6
- Node: 14.16
- npm: 7.7.5
{
"name": "next-app-draft",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
},
"dependencies": {
"next": "11.1.2",
"next-images": "^1.8.1",
"react": "17.0.2",
"react-dom": "17.0.2"
},
"devDependencies": {
"eslint": "7.32.0",
"eslint-config-next": "11.1.2"
}
}
i also got this error just now,hmm
@xXNurioXx can you try replicating this problem on the latest version of npm? (ie. npm i -g npm)
Hi @lukekarrys,
During the week I've updated npm to the 7.24.2 and now it's working. But I'm not sure if that's the real reason why it is working. Cause it randomly worked last week.
Could this be caused by a slow/unstable internet connection? I was experiencing internet problems at that time.
Cheers!
Thanks @xXNurioXx! Yeah, this is an intermittent error that we are trying to track down (https://github.com/npm/statusboard/issues/395) that can be related to connection issues. I'm going to close this since we have that other issue to track progress on it.