下载 npm install -g code-push-cli@latest 失败

oo大海oo 2017-11-07 01:36:37


0 info it worked if it ends with ok
1 verbose cli [ 'D:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Users\\ThinkPad\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'code-push-cli@latest' ]
2 info using npm@5.5.1
3 info using node@v6.5.0
4 verbose npm-session 741042d9247daada
5 silly install loadCurrentTree
6 silly install readGlobalPackageData
7 http fetch GET 304 https://registry.npm.taobao.org/code-push-cli 364ms (from cache)
8 silly pacote tag manifest for code-push-cli@latest fetched in 502ms
9 silly install loadIdealTree
10 silly install cloneCurrentTreeToIdealTree
11 silly install loadShrinkwrap
12 silly install loadAllDepsIntoIdealTree
13 silly resolveWithNewModule code-push-cli@2.1.1-beta checking installable status
14 http fetch GET 304 https://registry.npm.taobao.org/backslash 129ms (from cache)
15 silly pacote range manifest for backslash@^0.1.7 fetched in 138ms
16 silly resolveWithNewModule backslash@0.1.7 checking installable status
17 http fetch GET 304 https://registry.npm.taobao.org/parse-duration 68ms (from cache)
18 silly pacote version manifest for parse-duration@0.1.1 fetched in 71ms
19 silly resolveWithNewModule parse-duration@0.1.1 checking installable status
20 http fetch GET 304 https://registry.npm.taobao.org/chalk 336ms (from cache)
21 silly pacote range manifest for chalk@^1.1.0 fetched in 344ms
22 silly resolveWithNewModule chalk@1.1.3 checking installable status
23 http fetch GET 304 https://registry.npm.taobao.org/base-64 347ms (from cache)
24 http fetch GET 304 https://registry.npm.taobao.org/cli-table 349ms (from cache)
25 http fetch GET 304 https://registry.npm.taobao.org/gradle-to-js 342ms (from cache)
26 silly pacote range manifest for base-64@^0.1.0 fetched in 360ms
27 silly resolveWithNewModule base-64@0.1.0 checking installable status
28 http fetch GET 304 https://registry.npm.taobao.org/jsonwebtoken 355ms (from cache)
29 http fetch GET 304 https://registry.npm.taobao.org/opener 355ms (from cache)
30 http fetch GET 304 https://registry.npm.taobao.org/moment 366ms (from cache)
31 silly pacote range manifest for cli-table@^0.3.1 fetched in 375ms
32 silly resolveWithNewModule cli-table@0.3.1 checking installable status
33 http fetch GET 304 https://registry.npm.taobao.org/email-validator 370ms (from cache)
34 silly pacote range manifest for gradle-to-js@^1.0.1 fetched in 370ms
35 silly resolveWithNewModule gradle-to-js@1.0.1 checking installable status
36 http fetch GET 304 https://registry.npm.taobao.org/code-push 376ms (from cache)
37 silly pacote range manifest for jsonwebtoken@^7.4.1 fetched in 378ms
38 silly resolveWithNewModule jsonwebtoken@7.4.3 checking installable status
39 silly pacote range manifest for opener@^1.4.1 fetched in 379ms
40 silly resolveWithNewModule opener@1.4.3 checking installable status
41 http fetch GET 304 https://registry.npm.taobao.org/plist 190ms (from cache)
42 silly pacote range manifest for moment@^2.10.6 fetched in 389ms
43 silly resolveWithNewModule moment@2.19.1 checking installable status
44 silly pacote range manifest for email-validator@^1.0.3 fetched in 395ms
45 silly resolveWithNewModule email-validator@1.1.1 checking installable status
46 silly pacote version manifest for code-push@2.0.2-beta fetched in 407ms
47 silly resolveWithNewModule code-push@2.0.2-beta checking installable status
48 silly pacote version manifest for plist@1.2.0 fetched in 219ms
49 silly resolveWithNewModule plist@1.2.0 checking installable status
50 http fetch GET 304 https://registry.npm.taobao.org/progress 226ms (from cache)
51 http fetch GET 304 https://registry.npm.taobao.org/prompt 209ms (from cache)
52 silly fetchPackageMetaData error for prompt@^0.2.14 Unexpected end of JSON input while parsing near '..."},"devDependencies":'
53 silly pacote range manifest for progress@^1.1.8 fetched in 240ms
54 silly resolveWithNewModule progress@1.1.8 checking installable status
55 http fetch GET 304 https://registry.npm.taobao.org/q 209ms (from cache)
56 http fetch GET 304 https://registry.npm.taobao.org/recursive-fs 205ms (from cache)
57 silly pacote range manifest for q@~1.4.1 fetched in 231ms
58 silly resolveWithNewModule q@1.4.1 checking installable status
59 http fetch GET 304 https://registry.npm.taobao.org/properties 239ms (from cache)
60 silly pacote version manifest for recursive-fs@0.1.4 fetched in 228ms
61 silly resolveWithNewModule recursive-fs@0.1.4 checking installable status
62 http fetch GET 304 https://registry.npm.taobao.org/rimraf 232ms (from cache)
63 http fetch GET 304 https://registry.npm.taobao.org/semver 225ms (from cache)
64 silly pacote range manifest for properties@^1.2.1 fetched in 254ms
65 silly resolveWithNewModule properties@1.2.1 checking installable status
66 http fetch GET 304 https://registry.npm.taobao.org/slash 222ms (from cache)
67 http fetch GET 304 https://registry.npm.taobao.org/simctl 228ms (from cache)
68 silly pacote range manifest for rimraf@^2.5.1 fetched in 252ms
69 silly resolveWithNewModule rimraf@2.6.2 checking installable status
70 silly pacote version manifest for semver@4.3.6 fetched in 251ms
71 silly resolveWithNewModule semver@4.3.6 checking installable status
72 http fetch GET 304 https://registry.npm.taobao.org/update-notifier 226ms (from cache)
73 silly pacote version manifest for slash@1.0.0 fetched in 243ms
74 silly resolveWithNewModule slash@1.0.0 checking installable status
75 silly pacote version manifest for simctl@0.0.9 fetched in 249ms
76 silly resolveWithNewModule simctl@0.0.9 checking installable status
77 silly pacote range manifest for update-notifier@^0.5.0 fetched in 237ms
78 silly resolveWithNewModule update-notifier@0.5.0 checking installable status
79 http fetch GET 304 https://registry.npm.taobao.org/which 110ms (from cache)
80 http fetch GET 304 https://registry.npm.taobao.org/wordwrap 104ms (from cache)
81 silly pacote range manifest for which@^1.2.7 fetched in 115ms
82 silly resolveWithNewModule which@1.3.0 checking installable status
83 silly pacote version manifest for wordwrap@1.0.0 fetched in 109ms
84 silly resolveWithNewModule wordwrap@1.0.0 checking installable status
85 http fetch GET 304 https://registry.npm.taobao.org/xml2js 90ms (from cache)
86 silly pacote range manifest for xml2js@^0.4.16 fetched in 92ms
87 silly resolveWithNewModule xml2js@0.4.19 checking installable status
88 http fetch GET 304 https://registry.npm.taobao.org/yazl 124ms (from cache)
89 http fetch GET 304 https://registry.npm.taobao.org/yargs 141ms (from cache)
90 silly pacote range manifest for yazl@^2.4.1 fetched in 133ms
91 silly resolveWithNewModule yazl@2.4.3 checking installable status
92 silly pacote range manifest for yargs@^6.5.0 fetched in 147ms
93 silly resolveWithNewModule yargs@6.6.0 checking installable status
94 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '..."},"devDependencies":'
94 verbose stack at Object.parse (native)
94 verbose stack at parseJson (C:\Users\ThinkPad\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\node_modules\make-fetch-happen\node_modules\node-fetch-npm\node_modules\json-parse-better-errors\index.js:7:17)
94 verbose stack at consumeBody.call.then.buffer (C:\Users\ThinkPad\AppData\Roaming\npm\node_modules\npm\node_modules\pacote\node_modules\make-fetch-happen\node_modules\node-fetch-npm\src\body.js:96:50)
94 verbose stack at process._tickCallback (internal/process/next_tick.js:103:7)
95 verbose cwd C:\Users\ThinkPad
96 verbose Windows_NT 10.0.14393
97 verbose argv "D:\\Program Files\\nodejs\\node.exe" "C:\\Users\\ThinkPad\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "install" "-g" "code-push-cli@latest"
98 verbose node v6.5.0
99 verbose npm v5.5.1
100 error Unexpected end of JSON input while parsing near '..."},"devDependencies":'
101 verbose exit [ 1, true ]
...全文
862 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

790

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 其他移动相关
社区管理员
  • 移动开发其他问题社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧