Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Plugin not getting installed with atom snaps #773

Closed
aravindSRM-India opened this issue Dec 17, 2018 · 5 comments
Closed

Plugin not getting installed with atom snaps #773

aravindSRM-India opened this issue Dec 17, 2018 · 5 comments

Comments

@aravindSRM-India
Copy link

aravindSRM-India commented Dec 17, 2018

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
Copy link
Owner

akonwi commented Dec 18, 2018

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
Copy link
Author

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

@akonwi
Copy link
Owner

akonwi commented Dec 19, 2018

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
Copy link
Author

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
Copy link
Author

aravindSRM-India commented Dec 20, 2018

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.

@akonwi akonwi closed this as completed Dec 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants