codota / tabnine-atom

:atom: Atom client for Tabnine - Code Faster with the All-Language AI Assistant for Code Completion, autocomplete JavaScript, Python, TypeScript, PHP, Go, Java, node.js, Ruby, C/C++, HTML/CSS, C#, Rust, SQL, Bash, Kotlin, React, Swift, Scala, Sass, Perl, Objective C, Node JS, Matlab, Haskell, Dart, Angular. https://atom.io/packages/tabnine
https://www.tabnine.com/install/atom
MIT License
36 stars 14 forks source link

couldnot install tabnine on atom #26

Open shaswat-cs opened 4 years ago

shaswat-cs commented 4 years ago

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 commented 4 years ago

@shaswat-cs Can you paste the log file?

shaswat-cs commented 4 years ago

Ya sure....

On Tue, Jun 30, 2020, 17:12 amircodota notifications@github.com wrote:

@shaswat-cs https://github.com/shaswat-cs Can you paste the log file?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/codota/tabnine-atom/issues/26#issuecomment-651739830, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANAPB4CFZXL5JARUAOIVGTLRZHFQ7ANCNFSM4OMDDFNQ .

amircodota commented 4 years ago

@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 commented 4 years ago

@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 commented 4 years ago

facing same issue did you get any solution

Rev-02 commented 3 years ago

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