Created
April 5, 2016 04:39
-
-
Save Abel0916/b9c951e947a2d4e78c7bc08b956ffabf to your computer and use it in GitHub Desktop.
Fail to install appnium via npm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi, | |
I met below error when try to install appnium on mac os: | |
sfo8rg5l32:~ zhangfei$ npm install -g appnium | |
npm ERR! Darwin 14.5.0 | |
npm ERR! argv "node" "/usr/local/bin/npm" "install" "-g" "appnium" | |
npm ERR! node v0.10.29 | |
npm ERR! npm v2.15.2 | |
npm ERR! code E404 | |
npm ERR! 404 Registry returned 404 for GET on https://registry.npmjs.org/appnium | |
npm ERR! 404 | |
npm ERR! 404 'appnium' is not in the npm registry. | |
npm ERR! 404 You should bug the author to publish it (or use the name yourself!) | |
npm ERR! 404 | |
npm ERR! 404 Note that you can also install from a | |
npm ERR! 404 tarball, folder, http url, or git url. | |
npm ERR! Please include the following file with any support request: | |
npm ERR! /Users/zhangfei/npm-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Below are some npm-debug log:
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'install', '-g', 'appnium' ]
2 info using [email protected]
3 info using [email protected]
4 verbose install initial load of /usr/local/lib/package.json
5 verbose readDependencies loading dependencies from /usr/local/lib/package.json
6 silly cache add args [ 'appnium', null ]
7 verbose cache add spec appnium
8 silly cache add parsed spec { raw: 'appnium',
8 silly cache add scope: null,
8 silly cache add name: 'appnium',
8 silly cache add rawSpec: '',
8 silly cache add spec: 'latest',
8 silly cache add type: 'tag' }
9 silly addNamed appnium@latest
10 verbose addNamed "latest" is being treated as a dist-tag for appnium
11 info addNameTag [ 'appnium', 'latest' ]
12 silly mapToRegistry name appnium
13 silly mapToRegistry using default registry
14 silly mapToRegistry registry https://registry.npmjs.org/
15 silly mapToRegistry data { raw: 'appnium',
15 silly mapToRegistry scope: null,
15 silly mapToRegistry name: 'appnium',
15 silly mapToRegistry rawSpec: '',
15 silly mapToRegistry spec: 'latest',
15 silly mapToRegistry type: 'tag' }
16 silly mapToRegistry uri https://registry.npmjs.org/appnium
17 verbose addNameTag registry:https://registry.npmjs.org/appnium not in flight; fetching
18 verbose request uri https://registry.npmjs.org/appnium
19 verbose request no auth needed
20 info attempt registry request try #1 at 12:36:19
21 verbose request id 7c967387dbaafe4b
22 http request GET https://registry.npmjs.org/appnium
23 http 404 https://registry.npmjs.org/appnium
24 verbose headers { 'content-type': 'application/json',
24 verbose headers 'cache-control': 'max-age=0',
24 verbose headers 'content-length': '2',
24 verbose headers 'accept-ranges': 'bytes',
24 verbose headers date: 'Tue, 05 Apr 2016 04:36:20 GMT',
24 verbose headers via: '1.1 varnish',
24 verbose headers age: '0',
24 verbose headers connection: 'keep-alive',
24 verbose headers 'x-served-by': 'cache-lax1434-LAX',
24 verbose headers 'x-cache': 'MISS',
24 verbose headers 'x-cache-hits': '0',
24 verbose headers 'x-timer': 'S1459830980.236819,VS0,VE178' }
25 silly get cb [ 404,
25 silly get { 'content-type': 'application/json',
25 silly get 'cache-control': 'max-age=0',
25 silly get 'content-length': '2',
25 silly get 'accept-ranges': 'bytes',
25 silly get date: 'Tue, 05 Apr 2016 04:36:20 GMT',
25 silly get via: '1.1 varnish',
25 silly get age: '0',
25 silly get connection: 'keep-alive',
25 silly get 'x-served-by': 'cache-lax1434-LAX',
25 silly get 'x-cache': 'MISS',
25 silly get 'x-cache-hits': '0',
25 silly get 'x-timer': 'S1459830980.236819,VS0,VE178' } ]
26 verbose stack Error: Registry returned 404 for GET on https://registry.npmjs.org/appnium
26 verbose stack at makeError (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:264:12)
26 verbose stack at CachingRegistryClient. (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:242:14)
26 verbose stack at Request._callback (/usr/local/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:172:14)
26 verbose stack at Request.self.callback (/usr/local/lib/node_modules/npm/node_modules/request/request.js:199:22)
26 verbose stack at Request.emit (events.js:98:17)
26 verbose stack at Request. (/usr/local/lib/node_modules/npm/node_modules/request/request.js:1036:10)
26 verbose stack at Request.emit (events.js:117:20)
26 verbose stack at IncomingMessage. (/usr/local/lib/node_modules/npm/node_modules/request/request.js:963:12)
26 verbose stack at IncomingMessage.emit (events.js:117:20)
26 verbose stack at _stream_readable.js:929:16
27 verbose statusCode 404
28 verbose pkgid appnium
29 verbose cwd /Users/zhangfei
30 error Darwin 14.5.0
31 error argv "node" "/usr/local/bin/npm" "install" "-g" "appnium"
32 error node v0.10.29
33 error npm v2.15.2
34 error code E404
35 error 404 Registry returned 404 for GET on https://registry.npmjs.org/appnium
35 error 404
35 error 404 'appnium' is not in the npm registry.
35 error 404 You should bug the author to publish it (or use the name yourself!)
35 error 404
35 error 404 Note that you can also install from a
35 error 404 tarball, folder, http url, or git url.
36 verbose exit [ 1, true ]