Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

error cb() never called! #17356

Open
leikun1 opened this issue Jun 21, 2017 · 2 comments
Open

error cb() never called! #17356

leikun1 opened this issue Jun 21, 2017 · 2 comments
Labels

Comments

@leikun1
Copy link

leikun1 commented Jun 21, 2017

I'm opening this issue because:npm is producing an incorrect install.

What's going wrong?

I was trying to run the command npm install ,but I got the error cb() never called!
however the project could install successfully with the command cnpm install.
what's wrong with the npm install

How can the CLI team reproduce the problem?

https://github.com/leikun1/testVux.git

supporting information:

ERROR LOG:
0 info it worked if it ends with ok
1 verbose cli [ 'D:\adt\nodejs\setup\node.exe',
1 verbose cli 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install' ]
2 info using npm@5.0.3
3 info using node@v8.1.2
4 verbose npm-session b31e43e4ee60cd05
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall testvue@1.0.0
7 info lifecycle testvue@1.0.0preinstall: testvue@1.0.0
8 silly lifecycle testvue@1.0.0
preinstall: no script for preinstall, continuing
9 silly install loadCurrentTree
10 silly install readLocalPackageData

@z3v0k
Copy link

z3v0k commented Jun 21, 2017

idem error:

Unhandled rejection Error: Argument #2: Expected string but got null tar-pack@^
at addDependency (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.
js:515:3)
at C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:463:5
at C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib\async-map
.js:52:35
at Array.forEach (native)
at C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib\async-map
.js:52:11
at Array.forEach (native)
at asyncMap (C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib
\async-map.js:51:8)
at loadDeps (C:\Program Files\nodejs\node_modules\npm\lib\install\deps.js:45
5:3)
at Array. (C:\Program Files\nodejs\node_modules\npm\node_modules
slide\lib\bind-actor.js:15:8)
at LOOP (C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib\cha
in.js:15:14)
at C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib\chain.js:
18:7
at C:\Program Files\nodejs\node_modules\npm\lib\install\and-finish-tracker.j
s:8:8
at resolveBranchDeps.then (C:\Program Files\nodejs\node_modules\npm\lib\inst
all\deps.js:419:11)
at tryCatcher (C:\Program Files\nodejs\node_modules\npm\node_modules\bluebir
d\js\release\util.js:16:23)
at Promise._settlePromiseFromHandler (C:\Program Files\nodejs\node_modules\n
pm\node_modules\bluebird\js\release\promise.js:512:31)
at Promise._settlePromise (C:\Program Files\nodejs\node_modules\npm\node_mod
ules\bluebird\js\release\promise.js:569:18)

npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! https://github.com/npm/npm/issues

@kenany kenany added the npm5 label Jun 21, 2017
@AurelienC
Copy link

Same error #17222

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants