Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

couldnot install tabnine on atom #26

Open
shaswat-cs opened this issue Jun 30, 2020 · 6 comments
Open

couldnot install tabnine on atom #26

shaswat-cs opened this issue Jun 30, 2020 · 6 comments

Comments

@shaswat-cs
Copy link

shaswat-cs commented Jun 30, 2020

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 ]

@amircodota
Copy link
Collaborator

@shaswat-cs Can you paste the log file?

@shaswat-cs
Copy link
Author

shaswat-cs commented Jun 30, 2020 via email

@amircodota
Copy link
Collaborator

@shaswat-cs I meant, cop and paste the contents of the error log -
Such as C:\Users\hp.atom.apm_logs\2020-06-30T10_24_26_225Z-debug.log in your original post

@shaswat-cs
Copy link
Author

@shaswat-cs I meant, cop and paste the contents of the error log -
Such as C:\Users\hp.atom.apm_logs\2020-06-30T10_24_26_225Z-debug.log in your original post

done!

@ahmedgadit
Copy link

facing same issue did you get any solution

@Rev-02
Copy link

Rev-02 commented Apr 3, 2021

I've got the same issue as you guys, any fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants