Skip to content
This repository has been archived by the owner on Jun 29, 2019. It is now read-only.

Unable to install plugins on Windows 7 #234

Closed
jasondavis opened this issue Apr 20, 2017 · 13 comments
Closed

Unable to install plugins on Windows 7 #234

jasondavis opened this issue Apr 20, 2017 · 13 comments
Assignees
Labels

Comments

@jasondavis
Copy link

I'm unable to install any plugins as this image below shows it just shows this message forever on my WIndows 7 PC with Hain.

Any ideas what could cause this?

In the preferences for the Package Manager it has this URL set: http://npmsearch.com

image

@cpriest
Copy link
Member

cpriest commented Apr 21, 2017

Hmm, I can see it's happening on my development branch, are you using the latest release version and it's happening?

@cpriest cpriest self-assigned this Apr 21, 2017
@cpriest
Copy link
Member

cpriest commented Apr 21, 2017

I've diagnosed this a bit, looks like it's having a problem getting the package download counts. Need to dig in further to see if the npmjs.org site has changed their API and a downstream package we use isn't up to date.

@appetizermonster
Copy link
Collaborator

@cpriest I'll look at it

@jasondavis
Copy link
Author

Sounds like you found the issue but to answer, yes I have the new version running from this repo

@cpriest
Copy link
Member

cpriest commented Apr 22, 2017

@appetizermonster ok, I do know that it's having a problem with parsing the download counts, the main request is working fine.

@cpriest cpriest assigned appetizermonster and unassigned cpriest Apr 22, 2017
@jasondavis
Copy link
Author

jasondavis commented Apr 24, 2017

@cpriest I just un-installed Hain and installed the older version v0.6.1 on windows 7 X64bit and have the same issue with it too. Ill try an older one

I have had Hain for week with no plugins to use!


UPDATE

Just tried v6 from Jan 18 and no luck

@cpriest
Copy link
Member

cpriest commented Apr 24, 2017

Sorry to hear that, I believe it's an issue with npmjs.org and how we're querying it for download counts. @appetizermonster said he'd look into it, but if not this week I will finish looking into it.

@rushone2010
Copy link

Same issue on Windows 10...

@cpriest
Copy link
Member

cpriest commented May 2, 2017

Looks like Heejin is not going to be able to field this, I'll try and get to it as soon as I am able.

@cpriest cpriest assigned cpriest and unassigned appetizermonster May 2, 2017
@cpriest cpriest added the bug label May 2, 2017
@jasondavis
Copy link
Author

@cpriest good news for me....I can manually download plugin zip files and extract to Hain plugin folder and run reload plugins and it lets me manually install plugins until this is fixed!

@jasondavis
Copy link
Author

I spoke to soon. Some of the plugins work but most donn't show up. Perhaps they have NPM dep;endency that is not installed yet in Hain or something. Do you know if the plugin install process does more than download and move the plugin to the directory?

@stefanpawlik
Copy link

Same issue here (Win10). Looking forward to a solution!

cpriest pushed a commit that referenced this issue May 9, 2017
* Add moment dependency for date/time manipulation
* Limit date range to 1 year and rework download counts
There was an error about trying to pull too large of a range, exceeding 365 days, so the range has been limited to the past year as of the current time of the query.

Additionally, there were issues with the results containing a blank key in the response object or there were no downloads key with the download data per day which was causing problems.
@cpriest
Copy link
Member

cpriest commented May 9, 2017

Thank you @daemongh for fixing this issue, much appreciated.

@cpriest cpriest closed this as completed May 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants