akonwi / git-plus

vim-fugitive like package for atom. make commits and other git things without the terminal
MIT License
537 stars 163 forks source link

Plugin not getting installed with atom snaps #773

Closed aravindSRM-India closed 5 years ago

aravindSRM-India commented 5 years ago

Is this a question or a feature request? If so please start the title with [QUESTION] or [REQUEST].

Unable to install the plugin

Are you on a windows machine and do you have trouble pushing to remote repositories? Check out this thread first because it probably has the solution and answers.

I am using Ubuntu 18.04

Are you having problems using submodules in atom with this package? Check out this thread.

I have problem in this package

Are you running MacOs 10.12 Sierra and having issues pulling/pushing? Check out this comment.

NA

Did you update the package and you are seeing this message Failed to load the git-plus package? Run apm install from the package's directory and restart atom.

[Description of issue here]

Steps to reproduce:

aravind@comp:/var/www/html/ats$ apm install git-plus
Installing git-plus to /home/aravind/.atom/packages ✗

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!     /home/aravind/.atom/.apm/_logs/2018-12-17T16_00_56_767Z-debug.log
akonwi commented 5 years ago

I'm not really sure what caused this error and this is the first time I've seen an error like that. It looks like an npm issue and a google search yielded this stackoverflow thread with solutions. I suggest you try the solutions there and see if that resolves this for you.

aravindSRM-India commented 5 years ago

I am not sure. I don't have npm installed in the pc. I am new to npm.

akonwi commented 5 years ago

Unfortunately I don't have a linux environment similar to yours to replicate this. I'm unfamiliar with snaps too. You may not have npm installed but atom has npm bundled in.

Did you try this? You'll want to rm -rf /home/aravind/.atom/packages/git-plus/node_modules and then rather than an npm install you can just retry the command to install git-plus

aravindSRM-India commented 5 years ago

I have removed eitire git-plus folder. But still not working. I have not installed npm in my pc. This is something problem in atom or git-plus.

aravindSRM-India commented 5 years ago

Ok I have solved it. I have moved entire .atom folder in home. It worked for me. Please close this issue. This reset atom configuration.