작성
·
135
0
nstalling “autocomplete-python@1.16.0” failed.Hide output…
npm ERR! Unexpected end of JSON input while parsing near '...debug":"2.2.0","json-' npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\adssk\.atom\.apm\_logs\2020-02-05T13_12_11_293Z-debug.log
Install 과정에서부터 에러가 뜨는데, Script는 정상 설치되었습니다.
로그는 아래와 같이 남았습니다.
지금 파이썬이 3.6.8 버전을 설치한 상태인데
혹시 버전이 낮아 발생한 문제일까요...?
원인및 해결법은 무엇일까요??
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Users\\adssk\\AppData\\Local\\atom\\app-1.43.0\\resources\\app\\apm\\bin\\node.exe',
1 verbose cli 'C:\\Users\\adssk\\AppData\\Local\\atom\\app-1.43.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli '--globalconfig',
1 verbose cli 'C:\\Users\\adssk\\.atom\\.apm\\.apmrc',
1 verbose cli '--userconfig',
1 verbose cli 'C:\\Users\\adssk\\.atom\\.apmrc',
1 verbose cli 'install',
1 verbose cli 'https://www.atom.io/api/packages/autocomplete-python/versions/1.16.0/tarball',
1 verbose cli '--target=4.2.7',
1 verbose cli '--disturl=https://atom.io/download/electron',
1 verbose cli '--arch=x64',
1 verbose cli '--global-style' ]
2 info using npm@6.2.0
3 info using node@v10.2.1
4 verbose npm-session 18fbdb1cbbfcf3a7
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 304 https://www.atom.io/api/packages/autocomplete-python/versions/1.16.0/tarball 1508ms (from cache)
8 silly pacote remote manifest for undefined@https://www.atom.io/api/packages/autocomplete-python/versions/1.16.0/tarball fetched in 1566ms
9 timing stage:loadCurrentTree Completed in 2511ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 0ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule autocomplete-python@1.16.0 checking installable status
17 http fetch GET 200 https://registry.npmjs.org/kite-installer 26ms (from cache)
18 silly pacote version manifest for kite-installer@=3.15.0 fetched in 33ms
19 silly resolveWithNewModule kite-installer@3.15.0 checking installable status
20 http fetch GET 304 https://registry.npmjs.org/fuzzaldrin-plus 68ms (from cache)
21 silly pacote range manifest for fuzzaldrin-plus@^0.3.1 fetched in 70ms
22 silly resolveWithNewModule fuzzaldrin-plus@0.3.1 checking installable status
23 http fetch GET 304 https://registry.npmjs.org/atom-space-pen-views 74ms (from cache)
24 silly pacote range manifest for atom-space-pen-views@~2.1.0 fetched in 76ms
25 silly resolveWithNewModule atom-space-pen-views@2.1.1 checking installable status
26 http fetch GET 304 https://registry.npmjs.org/mixpanel 72ms (from cache)
27 silly pacote range manifest for mixpanel@^0.5.0 fetched in 74ms
28 silly resolveWithNewModule mixpanel@0.5.0 checking installable status
29 http fetch GET 304 https://registry.npmjs.org/selector-kit 74ms (from cache)
30 silly pacote range manifest for selector-kit@^0.1 fetched in 75ms
31 silly resolveWithNewModule selector-kit@0.1.0 checking installable status
32 http fetch GET 304 https://registry.npmjs.org/underscore 75ms (from cache)
33 http fetch GET 304 https://registry.npmjs.org/atom-slick 81ms (from cache)
34 silly pacote range manifest for underscore@^1.8.3 fetched in 76ms
35 silly resolveWithNewModule underscore@1.9.2 checking installable status
36 silly pacote range manifest for atom-slick@^2.0.0 fetched in 85ms
37 silly resolveWithNewModule atom-slick@2.0.0 checking installable status
38 http fetch GET 304 https://registry.npmjs.org/space-pen 77ms (from cache)
39 silly pacote range manifest for space-pen@^5.1.2 fetched in 78ms
40 silly resolveWithNewModule space-pen@5.1.2 checking installable status
41 http fetch GET 304 https://registry.npmjs.org/fuzzaldrin 19ms (from cache)
42 silly pacote range manifest for fuzzaldrin@^2.1.0 fetched in 20ms
43 silly resolveWithNewModule fuzzaldrin@2.1.0 checking installable status
44 http fetch GET 304 https://registry.npmjs.org/grim 26ms (from cache)
45 http fetch GET 304 https://registry.npmjs.org/jquery 27ms (from cache)
46 silly pacote range manifest for grim@^1.0.0 fetched in 28ms
47 silly resolveWithNewModule grim@1.5.0 checking installable status
48 silly pacote version manifest for jquery@2.1.4 fetched in 29ms
49 silly resolveWithNewModule jquery@2.1.4 checking installable status
50 http fetch GET 304 https://registry.npmjs.org/underscore-plus 28ms (from cache)
51 silly pacote range manifest for underscore-plus@1.x fetched in 30ms
52 silly resolveWithNewModule underscore-plus@1.7.0 checking installable status
53 http fetch GET 304 https://registry.npmjs.org/emissary 21ms (from cache)
54 silly pacote range manifest for emissary@^1.2.0 fetched in 22ms
55 silly resolveWithNewModule emissary@1.3.3 checking installable status
56 http fetch GET 304 https://registry.npmjs.org/property-accessors 24ms (from cache)
57 silly pacote range manifest for property-accessors@^1.1 fetched in 25ms
58 silly resolveWithNewModule property-accessors@1.1.3 checking installable status
59 http fetch GET 304 https://registry.npmjs.org/es6-weak-map 27ms (from cache)
60 silly pacote range manifest for es6-weak-map@^0.1.2 fetched in 28ms
61 silly resolveWithNewModule es6-weak-map@0.1.4 checking installable status
62 http fetch GET 304 https://registry.npmjs.org/mixto 29ms (from cache)
63 silly pacote range manifest for mixto@1.x fetched in 30ms
64 silly resolveWithNewModule mixto@1.0.0 checking installable status
65 http fetch GET 304 https://registry.npmjs.org/es6-symbol 24ms (from cache)
66 silly pacote range manifest for es6-symbol@~2.0.1 fetched in 25ms
67 silly resolveWithNewModule es6-symbol@2.0.1 checking installable status
68 http fetch GET 304 https://registry.npmjs.org/d 28ms (from cache)
69 http fetch GET 304 https://registry.npmjs.org/es6-iterator 27ms (from cache)
70 silly pacote range manifest for d@~0.1.1 fetched in 29ms
71 silly resolveWithNewModule d@0.1.1 checking installable status
72 silly pacote range manifest for es6-iterator@~0.1.3 fetched in 29ms
73 silly resolveWithNewModule es6-iterator@0.1.3 checking installable status
74 http fetch GET 304 https://registry.npmjs.org/es5-ext 33ms (from cache)
75 silly pacote range manifest for es5-ext@~0.10.6 fetched in 34ms
76 silly resolveWithNewModule es5-ext@0.10.53 checking installable status
77 silly pacote range manifest for es6-symbol@~3.1.3 fetched in 0ms
78 silly resolveWithNewModule es6-symbol@3.1.3 checking installable status
79 silly pacote range manifest for es6-iterator@~2.0.3 fetched in 2ms
80 silly resolveWithNewModule es6-iterator@2.0.3 checking installable status
81 http fetch GET 304 https://registry.npmjs.org/next-tick 23ms (from cache)
82 silly pacote range manifest for next-tick@~1.0.0 fetched in 24ms
83 silly resolveWithNewModule next-tick@1.0.0 checking installable status
84 silly pacote range manifest for d@1 fetched in 0ms
85 silly resolveWithNewModule d@1.0.1 checking installable status
86 http fetch GET 304 https://registry.npmjs.org/type 22ms (from cache)
87 silly pacote range manifest for type@^1.0.1 fetched in 23ms
88 silly resolveWithNewModule type@1.2.0 checking installable status
89 http fetch GET 304 https://registry.npmjs.org/ext 20ms (from cache)
90 silly pacote range manifest for ext@^1.1.2 fetched in 21ms
91 silly resolveWithNewModule ext@1.4.0 checking installable status
92 silly pacote range manifest for type@^2.0.0 fetched in 0ms
93 silly resolveWithNewModule type@2.0.0 checking installable status
94 http fetch GET 200 https://registry.npmjs.org/rollbar 6ms (from cache)
95 silly fetchPackageMetaData error for rollbar@^2.4.4 Unexpected end of JSON input while parsing near '...debug":"2.2.0","json-'
96 http fetch GET 304 https://registry.npmjs.org/kite-connector 24ms (from cache)
97 silly pacote version manifest for kite-connector@=3.10.0 fetched in 25ms
98 silly resolveWithNewModule kite-connector@3.10.0 checking installable status
99 http fetch GET 304 https://registry.npmjs.org/kite-api 26ms (from cache)
100 silly pacote version manifest for kite-api@=3.9.0 fetched in 27ms
101 silly resolveWithNewModule kite-api@3.9.0 checking installable status
102 timing stage:rollbackFailedOptional Completed in 0ms
103 timing stage:runTopLevelLifecycles Completed in 2858ms
104 silly saveTree apm-install-dir-12015-13964-1xd193b.afh1
104 silly saveTree `-- autocomplete-python@1.16.0
104 silly saveTree +-- atom-slick@2.0.0
104 silly saveTree +-- atom-space-pen-views@2.1.1
104 silly saveTree | +-- fuzzaldrin@2.1.0
104 silly saveTree | `-- space-pen@5.1.2
104 silly saveTree | +-- grim@1.5.0
104 silly saveTree | | `-- emissary@1.3.3
104 silly saveTree | | +-- es6-weak-map@0.1.4
104 silly saveTree | | | +-- d@0.1.1
104 silly saveTree | | | | `-- es5-ext@0.10.53
104 silly saveTree | | | | +-- es6-iterator@2.0.3
104 silly saveTree | | | | | +-- d@1.0.1
104 silly saveTree | | | | | | `-- type@1.2.0
104 silly saveTree | | | | | `-- es6-symbol@3.1.3
104 silly saveTree | | | | | `-- ext@1.4.0
104 silly saveTree | | | | | `-- type@2.0.0
104 silly saveTree | | | | +-- es6-symbol@3.1.3
104 silly saveTree | | | | `-- next-tick@1.0.0
104 silly saveTree | | | +-- es5-ext@0.10.53
104 silly saveTree | | | +-- es6-iterator@0.1.3
104 silly saveTree | | | | `-- es6-symbol@2.0.1
104 silly saveTree | | | `-- es6-symbol@2.0.1
104 silly saveTree | | +-- mixto@1.0.0
104 silly saveTree | | +-- property-accessors@1.1.3
104 silly saveTree | | `-- underscore-plus@1.7.0
104 silly saveTree | | `-- underscore@1.9.2
104 silly saveTree | +-- jquery@2.1.4
104 silly saveTree | `-- underscore-plus@1.7.0
104 silly saveTree +-- fuzzaldrin-plus@0.3.1
104 silly saveTree +-- kite-installer@3.15.0
104 silly saveTree | +-- kite-api@3.9.0
104 silly saveTree | | `-- kite-connector@3.10.0
104 silly saveTree | +-- kite-connector@3.10.0
104 silly saveTree | `-- mixpanel@0.5.0
104 silly saveTree +-- mixpanel@0.5.0
104 silly saveTree +-- selector-kit@0.1.0
104 silly saveTree +-- space-pen@5.1.2
104 silly saveTree `-- underscore@1.9.2
105 verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...debug":"2.2.0","json-'
105 verbose stack at JSON.parse (<anonymous>)
105 verbose stack at parseJson (C:\Users\adssk\AppData\Local\atom\app-1.43.0\resources\app\apm\node_modules\npm\node_modules\json-parse-better-errors\index.js:7:17)
105 verbose stack at consumeBody.call.then.buffer (C:\Users\adssk\AppData\Local\atom\app-1.43.0\resources\app\apm\node_modules\npm\node_modules\node-fetch-npm\src\body.js:96:50)
105 verbose stack at process._tickCallback (internal/process/next_tick.js:68:7)
106 verbose cwd C:\Users\adssk\AppData\Local\Temp\apm-install-dir-12015-13964-1xd193b.afh1
107 verbose Windows_NT 10.0.18362
108 verbose argv "C:\\Users\\adssk\\AppData\\Local\\atom\\app-1.43.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\adssk\\AppData\\Local\\atom\\app-1.43.0\\resources\\app\\apm\\node_modules\\npm\\bin\\npm-cli.js" "--globalconfig" "C:\\Users\\adssk\\.atom\\.apm\\.apmrc" "--userconfig" "C:\\Users\\adssk\\.atom\\.apmrc" "install" "https://www.atom.io/api/packages/autocomplete-python/versions/1.16.0/tarball" "--target=4.2.7" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style"
109 verbose node v10.2.1
110 verbose npm v6.2.0
111 error Unexpected end of JSON input while parsing near '...debug":"2.2.0","json-'
112 verbose exit [ 1, true ]
답변 1
0