fojas / cleverbot-node

Cleverbot client in node.js
MIT License
62 stars 33 forks source link

npm ERR! cb() never called! #39

Closed iamtraction closed 7 years ago

iamtraction commented 7 years ago

I get this error when installing this package using: npm install cleverbot-node:

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>

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2017-04-26T22_13_42_127Z-debug.log

npm log:

Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'install', 'cleverbot-node' ]
2 info using npm@4.6.1
3 info using node@v7.9.0
4 silly install loadCurrentTree
5 silly install readLocalPackageData
6 silly fetchPackageMetaData cleverbot-node
7 silly fetchNamedPackageData cleverbot-node
8 silly mapToRegistry name cleverbot-node
9 silly mapToRegistry using default registry
10 silly mapToRegistry registry https://registry.npmjs.org/
11 silly mapToRegistry data Result {
11 silly mapToRegistry   raw: 'cleverbot-node',
11 silly mapToRegistry   scope: null,
11 silly mapToRegistry   escapedName: 'cleverbot-node',
11 silly mapToRegistry   name: 'cleverbot-node',
11 silly mapToRegistry   rawSpec: '',
11 silly mapToRegistry   spec: 'latest',
11 silly mapToRegistry   type: 'tag' }
12 silly mapToRegistry uri https://registry.npmjs.org/cleverbot-node
13 verbose request uri https://registry.npmjs.org/cleverbot-node
14 verbose request no auth needed
15 info attempt registry request try #1 at 10:13:41 PM
16 verbose request id 3141ed3954628a58
17 verbose etag W/"5900ae82-78ba"
18 verbose lastModified Wed, 26 Apr 2017 14:28:18 GMT
19 http request GET https://registry.npmjs.org/cleverbot-node
20 http 304 https://registry.npmjs.org/cleverbot-node
21 verbose headers { date: 'Wed, 26 Apr 2017 22:13:41 GMT',
21 verbose headers   via: '1.1 varnish',
21 verbose headers   'cache-control': 'max-age=300',
21 verbose headers   etag: 'W/"5900ae82-78ba"',
21 verbose headers   age: '0',
21 verbose headers   connection: 'keep-alive',
21 verbose headers   'x-served-by': 'cache-sin18020-SIN',
21 verbose headers   'x-cache': 'HIT',
21 verbose headers   'x-cache-hits': '1',
21 verbose headers   'x-timer': 'S1493244821.301937,VS0,VE106',
21 verbose headers   vary: 'Accept-Encoding' }
22 silly get cb [ 304,
22 silly get   { date: 'Wed, 26 Apr 2017 22:13:41 GMT',
22 silly get     via: '1.1 varnish',
22 silly get     'cache-control': 'max-age=300',
22 silly get     etag: 'W/"5900ae82-78ba"',
22 silly get     age: '0',
22 silly get     connection: 'keep-alive',
22 silly get     'x-served-by': 'cache-sin18020-SIN',
22 silly get     'x-cache': 'HIT',
22 silly get     'x-cache-hits': '1',
22 silly get     'x-timer': 'S1493244821.301937,VS0,VE106',
22 silly get     vary: 'Accept-Encoding' } ]
23 verbose etag https://registry.npmjs.org/cleverbot-node from cache
24 verbose get saving cleverbot-node to /root/.npm/registry.npmjs.org/cleverbot-                                                                                        node/.cache.json
25 verbose correctMkdir /root/.npm correctMkdir not in flight; initializing
26 silly install normalizeTree
27 silly install loadIdealTree
28 silly install cloneCurrentTreeToIdealTree
29 silly install loadShrinkwrap
30 silly install loadAllDepsIntoIdealTree
31 silly resolveWithNewModule cleverbot-node@0.3.8 checking installable status
32 silly cache add args [ 'cleverbot-node', null ]
33 verbose cache add spec cleverbot-node
34 silly cache add parsed spec Result {
34 silly cache add   raw: 'cleverbot-node',
34 silly cache add   scope: null,
34 silly cache add   escapedName: 'cleverbot-node',
34 silly cache add   name: 'cleverbot-node',
34 silly cache add   rawSpec: '',
34 silly cache add   spec: 'latest',
34 silly cache add   type: 'tag' }
35 silly addNamed cleverbot-node@latest
36 verbose addNamed "latest" is being treated as a dist-tag for cleverbot-node
37 info addNameTag [ 'cleverbot-node', 'latest' ]
38 silly mapToRegistry name cleverbot-node
39 silly mapToRegistry using default registry
40 silly mapToRegistry registry https://registry.npmjs.org/
41 silly mapToRegistry data Result {
41 silly mapToRegistry   raw: 'cleverbot-node',
41 silly mapToRegistry   scope: null,
41 silly mapToRegistry   escapedName: 'cleverbot-node',
41 silly mapToRegistry   name: 'cleverbot-node',
41 silly mapToRegistry   rawSpec: '',
41 silly mapToRegistry   spec: 'latest',
41 silly mapToRegistry   type: 'tag' }
42 silly mapToRegistry uri https://registry.npmjs.org/cleverbot-node
43 verbose addNameTag registry:https://registry.npmjs.org/cleverbot-node not in                                                                                         flight; fetching
44 verbose get https://registry.npmjs.org/cleverbot-node not expired, no request
45 silly addNameTag next cb for cleverbot-node with tag latest
46 silly addNamed cleverbot-node@0.3.8
47 verbose addNamed "0.3.8" is a plain semver version for cleverbot-node
48 silly cache afterAdd cleverbot-node@0.3.8
49 verbose afterAdd /root/.npm/cleverbot-node/0.3.8/package/package.json not in                                                                                         flight; writing
50 verbose correctMkdir /root/.npm correctMkdir not in flight; initializing
51 verbose afterAdd /root/.npm/cleverbot-node/0.3.8/package/package.json written
52 error cb() never called!
53 error This is an error with npm itself. Please report this error at:
54 error <https://github.com/npm/npm/issues>
fojas commented 7 years ago

I upgraded to the latest version of yarn to do the publishing of version 0.3.8. It looks like there is a bug in yarn that makes the packages not installable.

I have unpublished version 0.3.8 (and my test publish, 0.3.9) from npm and republished using npm instead of yarn.

Hopefully this all works now. Sorry for the hassle.

iamtraction commented 7 years ago

Thanks! I was using v0.3.7 to as a temporary fix for the issue, in my project.