tabnine-atom icon indicating copy to clipboard operation
tabnine-atom copied to clipboard

couldnot install tabnine on atom

Open shaswat-cs opened this issue 4 years ago • 6 comments

it gives following error:

Installing “[email protected]” 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 [email protected] 3 info using [email protected] 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 ]

shaswat-cs avatar Jun 30 '20 10:06 shaswat-cs

@shaswat-cs Can you paste the log file?

amircodota avatar Jun 30 '20 11:06 amircodota

Ya sure....

On Tue, Jun 30, 2020, 17:12 amircodota [email protected] 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 .

shaswat-cs avatar Jun 30 '20 11:06 shaswat-cs

@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

amircodota avatar Jun 30 '20 18:06 amircodota

@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!

shaswat-cs avatar Jun 30 '20 18:06 shaswat-cs

facing same issue did you get any solution

ahmedgadit avatar Aug 26 '20 02:08 ahmedgadit

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

Rev-02 avatar Apr 03 '21 20:04 Rev-02