Mac - cant install packages in Atom !solved!

#1

Hey,

first, I use Mac OS Mojave, freshly installed, Atom (1.33.0) as well. (Before it worked fine)
But now when I want to install some packages I always get an error. doesn’t matter what kind of packages. Themes and syntax I can install.

Here you find my error code.

//

0 info it worked if it ends with ok
1 verbose cli [ ‘/Applications/Atom.app/Contents/Resources/app/apm/bin/node’,
1 verbose cli ‘/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js’,
1 verbose cli ‘–globalconfig’,
1 verbose cli ‘/Users/ME/.atom/.apm/.apmrc’,
1 verbose cli ‘–userconfig’,
1 verbose cli ‘/Users/ME/.atom/.apmrc’,
1 verbose cli ‘install’,
1 verbose cli ‘L./api/packages/minimap/versions/4.29.9/tarball’,
1 verbose cli ‘–runtime=electron’,
1 verbose cli ‘–target=2.0.11’,
1 verbose cli ‘–dist-L./download/electron’,
1 verbose cli ‘–arch=x64’,
1 verbose cli ‘–global-style’ ]
2 info using npm@6.2.0
3 info using node@v8.9.3
4 verbose npm-session c2b39bbeb8177fae
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 fetch GET 200 L./api/packages/minimap/versions/4.29.9/tarball 3402ms
8 silly pacote remote manifest for undefined@L./api/packages/minimap/versions/4.29.9/tarball fetched in 3424ms
9 timing stage:loadCurrentTree Completed in 3702ms
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 1ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule minimap@4.29.9 checking installable status
17 fetch GET 200 Lregistry.npmjs./atom-utils 46ms (from cache)
18 fetch GET 200 Lregistry.npmjs./element-resize-detector 44ms (from cache)
19 fetch GET 200 Lregistry.npmjs./fs-plus 46ms (from cache)
20 fetch GET 200 Lregistry.npmjs./delegato 48ms (from cache)
21 fetch GET 200 Lregistry.npmjs./mixto 47ms (from cache)
22 fetch GET 200 Lregistry.npmjs./underscore-plus 48ms (from cache)
23 silly pacote range manifest for atom-utils@>=0.9.2 fetched in 57ms
24 silly resolveWithNewModule atom-utils@0.9.2 checking installable status
25 silly pacote range manifest for element-resize-detector@^1.1.11 fetched in 55ms
26 silly resolveWithNewModule element-resize-detector@1.1.14 checking installable status
27 silly pacote range manifest for delegato@1.x fetched in 57ms
28 silly resolveWithNewModule delegato@1.0.0 checking installable status
29 silly pacote range manifest for fs-plus@2.x fetched in 57ms
30 silly resolveWithNewModule fs-plus@2.10.1 checking installable status
31 silly pacote range manifest for underscore-plus@1.x fetched in 58ms
32 silly resolveWithNewModule underscore-plus@1.6.8 checking installable status
33 silly pacote range manifest for mixto@1.x fetched in 58ms
34 silly resolveWithNewModule mixto@1.0.0 checking installable status
35 fetch GET 200 Lregistry.npmjs./event-kit 7ms (from cache)
36 fetch GET 200 Lregistry.npmjs./grim 9ms (from cache)
37 silly pacote range manifest for event-kit@^1 fetched in 11ms
38 silly resolveWithNewModule event-kit@1.5.0 checking installable status
39 silly pacote range manifest for grim@^2 fetched in 12ms
40 silly resolveWithNewModule grim@2.0.2 checking installable status
41 silly pacote range manifest for grim@^1.2.1 fetched in 1ms
42 silly resolveWithNewModule grim@1.5.0 checking installable status
43 fetch GET 200 Lregistry.npmjs./emissary 2ms (from cache)
44 silly pacote range manifest for emissary@^1.2.0 fetched in 3ms
45 silly resolveWithNewModule emissary@1.3.3 checking installable status
46 fetch GET 200 Lregistry.npmjs./property-accessors 5ms (from cache)
47 fetch GET 200 Lregistry.npmjs./es6-weak-map 4ms (from cache)
48 silly pacote range manifest for property-accessors@^1.1 fetched in 6ms
49 silly resolveWithNewModule property-accessors@1.1.3 checking installable status
50 silly pacote range manifest for es6-weak-map@^0.1.2 fetched in 6ms
51 silly resolveWithNewModule es6-weak-map@0.1.4 checking installable status
52 fetch GET 200 Lregistry.npmjs./d 12ms (from cache)
53 fetch GET 200 Lregistry.npmjs./es5-ext 12ms (from cache)
54 fetch GET 200 Lregistry.npmjs./es6-symbol 14ms (from cache)
55 fetch GET 200 Lregistry.npmjs./es6-iterator 14ms (from cache)
56 silly pacote range manifest for d@~0.1.1 fetched in 16ms
57 silly resolveWithNewModule d@0.1.1 checking installable status
58 silly pacote range manifest for es5-ext@~0.10.6 fetched in 16ms
59 silly resolveWithNewModule es5-ext@0.10.46 checking installable status
60 silly pacote range manifest for es6-symbol@~2.0.1 fetched in 16ms
61 silly resolveWithNewModule es6-symbol@2.0.1 checking installable status
62 silly pacote range manifest for es6-iterator@~0.1.3 fetched in 17ms
63 silly resolveWithNewModule es6-iterator@0.1.3 checking installable status
64 silly pacote range manifest for es6-iterator@~2.0.3 fetched in 2ms
65 silly resolveWithNewModule es6-iterator@2.0.3 checking installable status
66 silly pacote range manifest for es6-symbol@~3.1.1 fetched in 3ms
67 silly resolveWithNewModule es6-symbol@3.1.1 checking installable status
68 fetch GET 200 Lregistry.npmjs./next-tick 4ms (from cache)
69 silly pacote range manifest for next-tick@1 fetched in 6ms
70 silly resolveWithNewModule next-tick@1.0.0 checking installable status
71 silly pacote range manifest for d@1 fetched in 0ms
72 silly resolveWithNewModule d@1.0.0 checking installable status
73 fetch GET 200 Lregistry.npmjs./underscore 4ms (from cache)
74 silly pacote range manifest for underscore@~1.8.3 fetched in 5ms
75 silly resolveWithNewModule underscore@1.8.3 checking installable status
76 silly pacote range manifest for event-kit@^2.0.0 fetched in 1ms
77 silly resolveWithNewModule event-kit@2.5.3 checking installable status
78 fetch GET 200 Lregistry.npmjs./batch-processor 3ms (from cache)
79 silly pacote range manifest for batch-processor@^1.0.0 fetched in 4ms
80 silly resolveWithNewModule batch-processor@1.0.0 checking installable status
81 fetch GET 200 Lregistry.npmjs./async 7ms (from cache)
82 fetch GET 200 LINKregistry.npmjs./mkdirp 9ms (from cache)
83 fetch GET 200 LINKregistry.npmjs./rimraf 10ms (from cache)
84 silly pacote range manifest for async@^1.5.2 fetched in 15ms
85 silly resolveWithNewModule async@1.5.2 checking installable status
86 silly pacote range manifest for mkdirp@^0.5.1 fetched in 15ms
87 silly resolveWithNewModule mkdirp@0.5.1 checking installable status
88 fetch GET 200 Lregistry.npmjs./rimraf/-/rimraf-2.6.2.tgz 8ms (from cache)
89 silly fetchPackageMetaData error for rimraf@^2.5.2 zlib: unexpected end of file
90 timing stage:rollbackFailedOptional Completed in 1ms
91 timing stage:runTopLevelLifecycles Completed in 3893ms
92 silly saveTree apm-install-dir-1181028-643-1as3c7f.1656f
92 silly saveTree -- minimap@4.29.9 92 silly saveTree +-- atom-utils@0.9.2 92 silly saveTree | +-- event-kit@1.5.0 92 silly saveTree | |– grim@1.5.0
92 silly saveTree | | -- emissary@1.3.3 92 silly saveTree | | +-- es6-weak-map@0.1.4 92 silly saveTree | | | +-- d@0.1.1 92 silly saveTree | | | |– es5-ext@0.10.46
92 silly saveTree | | | | ±- es6-iterator@2.0.3
92 silly saveTree | | | | | ±- d@1.0.0
92 silly saveTree | | | | | -- es6-symbol@3.1.1 92 silly saveTree | | | | +-- es6-symbol@3.1.1 92 silly saveTree | | | |– next-tick@1.0.0
92 silly saveTree | | | ±- es5-ext@0.10.46
92 silly saveTree | | | ±- es6-iterator@0.1.3
92 silly saveTree | | | | -- es6-symbol@2.0.1 92 silly saveTree | | |– es6-symbol@2.0.1
92 silly saveTree | | ±- mixto@1.0.0
92 silly saveTree | | ±- property-accessors@1.1.3
92 silly saveTree | | -- underscore-plus@1.6.8 92 silly saveTree | |– underscore@1.8.3
92 silly saveTree | ±- grim@2.0.2
92 silly saveTree | | -- event-kit@2.5.3 92 silly saveTree |– mixto@1.0.0
92 silly saveTree ±- delegato@1.0.0
92 silly saveTree ±- element-resize-detector@1.1.14
92 silly saveTree | -- batch-processor@1.0.0 92 silly saveTree +-- fs-plus@2.10.1 92 silly saveTree | +-- async@1.5.2 92 silly saveTree |– mkdirp@0.5.1
92 silly saveTree ±- mixto@1.0.0
92 silly saveTree `-- underscore-plus@1.6.8
93 verbose stack ZlibError: zlib: unexpected end of file
93 verbose stack at Zlib.(anonymous function).onerror (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/minizlib/index.js:131:21)
93 verbose stack at Unzip.write (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/minizlib/index.js:255:31)
93 verbose stack at Unzip.flush (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/minizlib/index.js:222:10)
93 verbose stack at Unzip.end (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/minizlib/index.js:229:10)
93 verbose stack at Object.end (/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/tar/lib/parse.js:415:21)
93 verbose stack at PassThrough.onend (_stream_readable.js:595:10)
93 verbose stack at Object.onceWrapper (events.js:313:30)
93 verbose stack at emitNone (events.js:111:20)
93 verbose stack at PassThrough.emit (events.js:208:7)
93 verbose stack at endReadableNT (_stream_readable.js:1056:12)
93 verbose stack at _combinedTickCallback (internal/process/next_tick.js:138:11)
93 verbose stack at process._tickCallback (internal/process/next_tick.js:180:9)
94 verbose cwd /private/var/folders/st/9xmnb41j7494n_47ns59glgr0000gn/T/apm-install-dir-1181028-643-1as3c7f.1656f
95 verbose Darwin 18.2.0
96 verbose argv “/Applications/Atom.app/Contents/Resources/app/apm/bin/node” “/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js” “–globalconfig” “/Users/ME/.atom/.apm/.apmrc” “–userconfig” “/Users/ME/.atom/.apmrc” “install” “L./api/packages/minimap/versions/4.29.9/tarball” “–runtime=electron” “–target=2.0.11” “–dist-url=L./download/electron” “–arch=x64” “–global-style”
97 verbose node v8.9.3
98 verbose npm v6.2.0
99 error code Z_BUF_ERROR
100 error errno -5
101 error zlib: unexpected end of file
102 verbose exit [ -5, true ]

//

Can anyone help me out?
(as I am a new user I am just allowed to post 2 links, that’s why I have to change the links in code)

#2

So finally I removed Anaconda. First it brought no advantage. But then I found this site, where they showed up where some hidden Anaconda files are. Finally I did a full uninstall of atom.

Now everything worked.