Skip to content

couldnot install tabnine on atom #26

@shaswat-cs

Description

@shaswat-cs

it gives following error:

Installing “TabNine@2.8.1” failed.Hide output…

npm ERR! code Z_BUF_ERROR
npm ERR! errno -5
npm ERR! zlib: unexpected end of file

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\hp.atom.apm_logs\2020-06-30T10_24_26_225Z-debug.log

the debug log is as follows:

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Users\hp\AppData\Local\atom\app-1.48.0\resources\app\apm\bin\node.exe',
1 verbose cli 'C:\Users\hp\AppData\Local\atom\app-1.48.0\resources\app\apm\node_modules\npm\bin\npm-cli.js',
1 verbose cli '--globalconfig',
1 verbose cli 'C:\Users\hp\.atom\.apm\.apmrc',
1 verbose cli '--userconfig',
1 verbose cli 'C:\Users\hp\.atom\.apmrc',
1 verbose cli 'install',
1 verbose cli 'https://www.atom.io/api/packages/tabnine/versions/2.8.1/tarball',
1 verbose cli '--target=5.0.13',
1 verbose cli '--disturl=https://atom.io/download/electron',
1 verbose cli '--arch=x64',
1 verbose cli '--global-style' ]
2 info using npm@6.14.5
3 info using node@v10.20.1
4 verbose npm-session 674ed42b2f555fd0
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 304 https://codeload.github.com/codota/tabnine-atom/legacy.tar.gz/v2.8.1 7689ms (from cache)
8 silly fetchPackageMetaData error for https://www.atom.io/api/packages/tabnine/versions/2.8.1/tarball zlib: unexpected end of file
9 timing stage:rollbackFailedOptional Completed in 1ms
10 timing stage:runTopLevelLifecycles Completed in 7984ms
11 verbose stack ZlibError: zlib: unexpected end of file
11 verbose stack at Unzip.write (C:\Users\hp\AppData\Local\atom\app-1.48.0\resources\app\apm\node_modules\npm\node_modules\minizlib\index.js:147:22)
11 verbose stack at Unzip.flush (C:\Users\hp\AppData\Local\atom\app-1.48.0\resources\app\apm\node_modules\npm\node_modules\minizlib\index.js:98:10)
11 verbose stack at Unzip.end (C:\Users\hp\AppData\Local\atom\app-1.48.0\resources\app\apm\node_modules\npm\node_modules\minizlib\index.js:104:10)
11 verbose stack at Object.end (C:\Users\hp\AppData\Local\atom\app-1.48.0\resources\app\apm\node_modules\npm\node_modules\tar\lib\parse.js:421:21)
11 verbose stack at PassThrough.onend (_stream_readable.js:672:10)
11 verbose stack at Object.onceWrapper (events.js:286:20)
11 verbose stack at PassThrough.emit (events.js:203:15)
11 verbose stack at endReadableNT (_stream_readable.js:1145:12)
11 verbose stack at process._tickCallback (internal/process/next_tick.js:63:19)
12 verbose cwd C:\Users\hp\AppData\Local\Temp\apm-install-dir-202061-6176-1hrsp4z.50pik
13 verbose Windows_NT 10.0.18363
14 verbose argv "C:\Users\hp\AppData\Local\atom\app-1.48.0\resources\app\apm\bin\node.exe" "C:\Users\hp\AppData\Local\atom\app-1.48.0\resources\app\apm\node_modules\npm\bin\npm-cli.js" "--globalconfig" "C:\Users\hp\.atom\.apm\.apmrc" "--userconfig" "C:\Users\hp\.atom\.apmrc" "install" "https://www.atom.io/api/packages/tabnine/versions/2.8.1/tarball" "--target=5.0.13" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style"
15 verbose node v10.20.1
16 verbose npm v6.14.5
17 error code Z_BUF_ERROR
18 error errno -5
19 error zlib: unexpected end of file
20 verbose exit [ -5, true ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions