Skip to content

Instantly share code, notes, and snippets.

@tkissing
Created March 26, 2015 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tkissing/3722bf4476239b99276d to your computer and use it in GitHub Desktop.
Save tkissing/3722bf4476239b99276d to your computer and use it in GitHub Desktop.
npm registry weirdness
cat node_modules/chai-as-promised/package.json | grep version
"version": "4.3.2",
0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli '/usr/local/var/nvm/v0.10.35/bin/npm',
1 verbose cli 'install',
1 verbose cli 'chai-as-promised@4.3.2' ]
2 info using npm@2.2.0
3 info using node@v0.10.35
4 silly cache add args [ 'chai-as-promised@4.3.2', null ]
5 verbose cache add spec chai-as-promised@4.3.2
6 silly cache add parsed spec { raw: 'chai-as-promised@4.3.2',
6 silly cache add scope: null,
6 silly cache add name: 'chai-as-promised',
6 silly cache add rawSpec: '4.3.2',
6 silly cache add spec: '4.3.2',
6 silly cache add type: 'version' }
7 verbose addNamed chai-as-promised@4.3.2
8 silly addNamed semver.valid 4.3.2
9 silly addNamed semver.validRange 4.3.2
10 silly mapToRegistry name chai-as-promised
11 silly mapToRegistry using default registry
12 silly mapToRegistry registry https://registry.npmjs.org/
13 silly mapToRegistry uri https://registry.npmjs.org/chai-as-promised
14 verbose addNameVersion registry:https://registry.npmjs.org/chai-as-promised not in flight; fetching
15 verbose request uri https://registry.npmjs.org/chai-as-promised
16 verbose request no auth needed
17 info attempt registry request try #1 at 09:26:14
18 verbose request id 3c1311dc45913dee
19 verbose etag "3R34WIIISQX73Q7NFOY47DF6B"
20 http request GET https://registry.npmjs.org/chai-as-promised
21 http 304 https://registry.npmjs.org/chai-as-promised
22 silly get cb [ 304,
22 silly get { date: 'Thu, 26 Mar 2015 16:26:14 GMT',
22 silly get server: 'Apache',
22 silly get via: '1.1 varnish',
22 silly get 'last-modified': 'Thu, 26 Mar 2015 16:26:14 GMT',
22 silly get 'cache-control': 'max-age=60',
22 silly get etag: '"3R34WIIISQX73Q7NFOY47DF6B"',
22 silly get age: '0',
22 silly get 'x-served-by': 'cache-sjc3123-SJC',
22 silly get 'x-cache': 'HIT',
22 silly get 'x-cache-hits': '1',
22 silly get 'x-timer': 'S1427387174.712448,VS0,VE151',
22 silly get vary: 'Accept',
22 silly get 'content-length': '0',
22 silly get 'keep-alive': 'timeout=10, max=50',
22 silly get connection: 'Keep-Alive' } ]
23 verbose etag https://registry.npmjs.org/chai-as-promised from cache
24 verbose stack Error: version not found: chai-as-promised@4.3.2
24 verbose stack at setData (/usr/local/var/nvm/v0.10.35/lib/node_modules/npm/lib/cache/add-named.js:122:12)
24 verbose stack at RES (/usr/local/var/nvm/v0.10.35/lib/node_modules/npm/node_modules/inflight/inflight.js:23:14)
24 verbose stack at f (/usr/local/var/nvm/v0.10.35/lib/node_modules/npm/node_modules/once/once.js:17:25)
24 verbose stack at saved (/usr/local/var/nvm/v0.10.35/lib/node_modules/npm/lib/cache/caching-client.js:163:7)
24 verbose stack at Object.oncomplete (fs.js:108:15)
25 verbose statusCode 404
26 verbose cwd /Users/tkissing/Stash/web/goto-sdk
27 error Darwin 13.4.0
28 error argv "node" "/usr/local/var/nvm/v0.10.35/bin/npm" "install" "chai-as-promised@4.3.2"
29 error node v0.10.35
30 error npm v2.2.0
31 error version not found: chai-as-promised@4.3.2
32 error If you need help, you may report this error at:
32 error <http://github.com/npm/npm/issues>
33 verbose exit [ 1, true ]
npm info chai-as-promised
npm http request GET https://registry.npmjs.org/chai-as-promised
npm http 304 https://registry.npmjs.org/chai-as-promised
{ name: 'chai-as-promised',
description: 'Extends Chai with assertions about promises.',
'dist-tags': { latest: '4.3.0' },
versions:
[ '1.0.0',
'1.1.0',
'1.2.0',
'2.0.0',
'2.1.0',
'2.2.0',
'3.0.0',
'3.1.0',
'3.2.0',
'3.2.1',
'3.2.2',
'3.2.3',
'3.2.4',
'3.2.5',
'3.3.0',
'3.3.1',
'4.0.0',
'4.1.0',
'4.1.1',
'4.2.0',
'4.3.0' ],
maintainers: 'domenic <domenic@domenicdenicola.com>',
time:
{ modified: '2015-03-25T22:28:03.911Z',
created: '2012-03-29T19:07:24.806Z',
'1.0.0': '2012-03-29T19:07:25.905Z',
'1.1.0': '2012-03-29T20:25:01.659Z',
'1.2.0': '2012-03-29T20:58:54.922Z',
'2.0.0': '2012-04-09T19:59:51.169Z',
'2.1.0': '2012-04-12T20:30:38.838Z',
'2.2.0': '2012-04-21T08:00:15.922Z',
'3.0.0': '2012-05-15T19:05:09.227Z',
'3.1.0': '2012-05-16T18:49:56.982Z',
'3.2.0': '2012-05-27T22:22:52.679Z',
'3.2.1': '2012-06-14T19:49:05.352Z',
'3.2.2': '2012-08-09T01:04:53.998Z',
'3.2.3': '2012-11-04T23:19:44.900Z',
'3.2.4': '2013-01-13T23:16:39.002Z',
'3.2.5': '2013-02-09T23:46:01.157Z',
'3.3.0': '2013-04-26T09:24:23.542Z',
'3.3.1': '2013-05-10T04:55:11.872Z',
'4.0.0': '2013-09-22T00:03:01.155Z',
'4.1.0': '2013-10-27T04:48:35.546Z',
'4.1.1': '2014-03-01T01:12:09.055Z',
'4.2.0': '2015-02-15T00:07:45.153Z',
'4.3.0': '2015-03-05T23:17:26.053Z',
'4.3.1': '2015-03-24T13:28:53.854Z',
'4.3.2': '2015-03-25T11:08:32.529Z' },
author: 'Domenic Denicola <d@domenic.me> (https://domenic.me)',
repository:
{ type: 'git',
url: 'https://github.com/domenic/chai-as-promised' },
homepage: 'https://github.com/domenic/chai-as-promised',
keywords:
[ 'chai',
'testing',
'assertions',
'promises',
'promises-aplus' ],
bugs: { url: 'https://github.com/domenic/chai-as-promised/issues' },
license: 'WTFPL',
readmeFilename: 'README.md',
users:
{ voxpelli: true,
redolent1: true,
citguy: true,
pensierinmusica: true },
version: '4.3.0',
main: './lib/chai-as-promised.js',
files: 'lib',
scripts:
{ test: 'mocha',
'test-browser-q': 'coffee ./test/browser/runner.coffee q',
'test-browser-when': 'coffee ./test/browser/runner.coffee when',
lint: 'jshint ./lib',
cover: 'istanbul cover node_modules/mocha/bin/_mocha && opener ./coverage/lcov-report/lib/chai-as-promised.js.html' },
peerDependencies: { chai: '>= 1.7.0 < 3' },
devDependencies:
{ chai: '^2.0.0',
'coffee-script': '1.9.0',
istanbul: '0.3.5',
ecstatic: '0.5.8',
glob: '^4.3.5',
jshint: '^2.6.0',
mocha: '^1.21.5',
opener: '^1.4.0',
q: '^1.1.2',
underscore: '1.7.0' },
gitHead: 'a8162a191653f7600c09ee131ae790ce7befbc8d',
dist:
{ shasum: '0fa861b0b31bfe6867f5e770f0f877be60ece5ee',
tarball: 'http://registry.npmjs.org/chai-as-promised/-/chai-as-promised-4.3.0.tgz' },
directories: {} }
npm install chai-as-promised@4.3.2
npm http request GET https://registry.npmjs.org/chai-as-promised
npm http 200 https://registry.npmjs.org/chai-as-promised
npm ERR! Darwin 13.4.0
npm ERR! argv "node" "/usr/local/var/nvm/v0.10.35/bin/npm" "install" "chai-as-promised@4.3.2"
npm ERR! node v0.10.35
npm ERR! npm v2.2.0
npm ERR! version not found: chai-as-promised@4.3.2
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /Users/tkissing/Stash/web/goto-sdk/npm-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment