Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install core plugins on windows #106

Closed
zhichaohan opened this issue Oct 30, 2015 · 22 comments
Closed

Can't install core plugins on windows #106

zhichaohan opened this issue Oct 30, 2015 · 22 comments

Comments

@zhichaohan
Copy link

When I type heroku it hangs after

2015/10/30 00:56:32 running from C:\Users\Zhichao\AppData\Local/heroku/heroku-cli.exe
2015/10/30 00:56:33 Setting up node-v4.2.1...
2015/10/30 00:56:44 done
2015/10/30 00:56:44 Installing core plugins heroku-cli-addons, heroku-apps, heroku-fork, heroku-git, heroku-local, heroku-run, heroku-status...

indefinitely. I took that out of the error.log in my AppData. If i ctrl-c and then run it again, that message is followed by

2015/10/30 01:01:01 not supported by windows
2015/10/30 01:01:01 not supported by windows
2015/10/30 01:01:01 not supported by windows
2015/10/30 01:01:01 not supported by windows
2015/10/30 01:01:01 not supported by windows
2015/10/30 01:01:01 not supported by windows
2015/10/30 01:01:01 not supported by windows

I've tried a lot of stuff, including deleting the appdata heroku folder, reinstalling. Any help would be greatly appreciated.

@jdx
Copy link
Contributor

jdx commented Oct 30, 2015

What happens if you run it with GODE_DEBUG=info?

@zhichaohan
Copy link
Author

bash.exe: warning: could not find /tmp, please create!
Installing core plugins heroku-cli-addons, heroku-apps, heroku-fork, heroku-git, heroku-local, heroku-run, heroku-status...npm info it worked if it ends with ok
npm info using npm@3.3.8
npm info using node@v4.2.1
npm info attempt registry request try #1 at 6:16:53 PM
npm http request GET https://cli-npm.heroku.com/heroku-git
npm info attempt registry request try #1 at 6:16:53 PM
npm http request GET https://cli-npm.heroku.com/heroku-cli-addons
npm info attempt registry request try #1 at 6:16:53 PM
npm http request GET https://cli-npm.heroku.com/heroku-fork
npm info attempt registry request try #1 at 6:16:53 PM
npm http request GET https://cli-npm.heroku.com/heroku-apps
npm info attempt registry request try #1 at 6:16:53 PM
npm http request GET https://cli-npm.heroku.com/heroku-run
npm info attempt registry request try #1 at 6:16:53 PM
npm http request GET https://cli-npm.heroku.com/heroku-status
npm info attempt registry request try #1 at 6:16:53 PM
npm http request GET https://cli-npm.heroku.com/heroku-local
npm http 304 https://cli-npm.heroku.com/heroku-cli-addons
npm http 304 https://cli-npm.heroku.com/heroku-fork
npm http 304 https://cli-npm.heroku.com/heroku-git
npm http 304 https://cli-npm.heroku.com/heroku-status
npm http 304 https://cli-npm.heroku.com/heroku-apps
npm http 304 https://cli-npm.heroku.com/heroku-run
npm http 304 https://cli-npm.heroku.com/heroku-local

thanks for helping me out with this!

@jdx jdx closed this as completed Oct 30, 2015
@zhichaohan
Copy link
Author

Ughhh I am still having issues

after seeing that output, it stalls and doesn't finish

@zhichaohan
Copy link
Author

When I try to do something like heroku login, it tries to install core plugins again, and then stales again. Sorry if I wasn't clear.

@jdx jdx reopened this Oct 30, 2015
@jdx
Copy link
Contributor

jdx commented Nov 3, 2015

can you install anything if you try to use npm directly? npm install heroku-local?

@zhichaohan
Copy link
Author

I figured it out!

npm install was hanging because the TEMP variable had some crap after my temp folder. I got rid of that and installed everything and now it works!

Thanks a bunch.

@jdx
Copy link
Contributor

jdx commented Nov 3, 2015

@chavenor this might be the problem you were having

@chavenor
Copy link

chavenor commented Nov 3, 2015

@dickeyxxx sounds identical. I will give it a try later this month.

@chavenor
Copy link

chavenor commented Nov 8, 2015

@hopslikeshaq32la here is what my vars look like -- what did you change yours to?

User Vars
%USERPROFILE%\AppData\Local\Temp;C:\Program Files (x86)\Java\jdk1.6.0_25\bin
System Vars.
%SystemRoot%\TEMP

@zhichaohan
Copy link
Author

if you look at your TEMP user variable, it may have a semicolon in it. If
it does, it will not work. my TEMP user var is

%USERPROFILE%\AppData\Local\Temp

On Sun, Nov 8, 2015 at 12:46 AM, Casey Havenor notifications@github.com
wrote:

@hopslikeshaq32la https://github.com/hopslikeshaq32la here is what my
vars look like -- what did you change yours to?

User Vars
%USERPROFILE%\AppData\Local\Temp;C:\Program Files
(x86)\Java\jdk1.6.0_25\bin
System Vars.
%SystemRoot%\TEMP


Reply to this email directly or view it on GitHub
#106 (comment).

@chavenor
Copy link

I'll take a look right now hold tight.

On Tue, Nov 17, 2015 at 11:16 PM, hopslikeshaq32la <notifications@github.com

wrote:

if you look at your TEMP user variable, it may have a semicolon in it. If
it does, it will not work. my TEMP user var is

%USERPROFILE%\AppData\Local\Temp

On Sun, Nov 8, 2015 at 12:46 AM, Casey Havenor notifications@github.com
wrote:

@hopslikeshaq32la https://github.com/hopslikeshaq32la here is what my
vars look like -- what did you change yours to?

User Vars
%USERPROFILE%\AppData\Local\Temp;C:\Program Files
(x86)\Java\jdk1.6.0_25\bin
System Vars.
%SystemRoot%\TEMP


Reply to this email directly or view it on GitHub
<#106 (comment)
.


Reply to this email directly or view it on GitHub
#106 (comment).

@chavenor
Copy link

Is there a command that allows me to force an update. I did have
semi-colon in my tmp folder.

Just not sure how to get heroku to update.

On Tue, Nov 17, 2015 at 11:23 PM, Casey Havenor casey@thatsbos.com wrote:

I'll take a look right now hold tight.

On Tue, Nov 17, 2015 at 11:16 PM, hopslikeshaq32la <
notifications@github.com> wrote:

if you look at your TEMP user variable, it may have a semicolon in it. If
it does, it will not work. my TEMP user var is

%USERPROFILE%\AppData\Local\Temp

On Sun, Nov 8, 2015 at 12:46 AM, Casey Havenor notifications@github.com
wrote:

@hopslikeshaq32la https://github.com/hopslikeshaq32la here is what my
vars look like -- what did you change yours to?

User Vars
%USERPROFILE%\AppData\Local\Temp;C:\Program Files
(x86)\Java\jdk1.6.0_25\bin
System Vars.
%SystemRoot%\TEMP


Reply to this email directly or view it on GitHub
<#106 (comment)
.


Reply to this email directly or view it on GitHub
#106 (comment).

@chavenor
Copy link

Ok downloading update.

On Tue, Nov 17, 2015 at 11:51 PM, Casey Havenor casey@thatsbos.com wrote:

Is there a command that allows me to force an update. I did have
semi-colon in my tmp folder.

Just not sure how to get heroku to update.

On Tue, Nov 17, 2015 at 11:23 PM, Casey Havenor casey@thatsbos.com
wrote:

I'll take a look right now hold tight.

On Tue, Nov 17, 2015 at 11:16 PM, hopslikeshaq32la <
notifications@github.com> wrote:

if you look at your TEMP user variable, it may have a semicolon in it. If
it does, it will not work. my TEMP user var is

%USERPROFILE%\AppData\Local\Temp

On Sun, Nov 8, 2015 at 12:46 AM, Casey Havenor <notifications@github.com

wrote:

@hopslikeshaq32la https://github.com/hopslikeshaq32la here is what
my
vars look like -- what did you change yours to?

User Vars
%USERPROFILE%\AppData\Local\Temp;C:\Program Files
(x86)\Java\jdk1.6.0_25\bin
System Vars.
%SystemRoot%\TEMP


Reply to this email directly or view it on GitHub
<
https://github.com/heroku/heroku-cli/issues/106#issuecomment-154777049>.


Reply to this email directly or view it on GitHub
#106 (comment)
.

@chavenor
Copy link

I remove folders.
Downloaded from site but it doesn't' seem like it will let me update to CLI
with plugins.

Any idea?

On Tue, Nov 17, 2015 at 11:52 PM, Casey Havenor casey@thatsbos.com wrote:

Ok downloading update.

On Tue, Nov 17, 2015 at 11:51 PM, Casey Havenor casey@thatsbos.com
wrote:

Is there a command that allows me to force an update. I did have
semi-colon in my tmp folder.

Just not sure how to get heroku to update.

On Tue, Nov 17, 2015 at 11:23 PM, Casey Havenor casey@thatsbos.com
wrote:

I'll take a look right now hold tight.

On Tue, Nov 17, 2015 at 11:16 PM, hopslikeshaq32la <
notifications@github.com> wrote:

if you look at your TEMP user variable, it may have a semicolon in it.
If
it does, it will not work. my TEMP user var is

%USERPROFILE%\AppData\Local\Temp

On Sun, Nov 8, 2015 at 12:46 AM, Casey Havenor <
notifications@github.com>
wrote:

@hopslikeshaq32la https://github.com/hopslikeshaq32la here is what
my
vars look like -- what did you change yours to?

User Vars
%USERPROFILE%\AppData\Local\Temp;C:\Program Files
(x86)\Java\jdk1.6.0_25\bin
System Vars.
%SystemRoot%\TEMP


Reply to this email directly or view it on GitHub
<
#106 (comment)
.


Reply to this email directly or view it on GitHub
#106 (comment)
.

@zhichaohan
Copy link
Author

restart your cmd prompt?

On Wed, Nov 18, 2015 at 12:58 AM, Casey Havenor notifications@github.com
wrote:

I remove folders.
Downloaded from site but it doesn't' seem like it will let me update to CLI
with plugins.

Any idea?

On Tue, Nov 17, 2015 at 11:52 PM, Casey Havenor casey@thatsbos.com
wrote:

Ok downloading update.

On Tue, Nov 17, 2015 at 11:51 PM, Casey Havenor casey@thatsbos.com
wrote:

Is there a command that allows me to force an update. I did have
semi-colon in my tmp folder.

Just not sure how to get heroku to update.

On Tue, Nov 17, 2015 at 11:23 PM, Casey Havenor casey@thatsbos.com
wrote:

I'll take a look right now hold tight.

On Tue, Nov 17, 2015 at 11:16 PM, hopslikeshaq32la <
notifications@github.com> wrote:

if you look at your TEMP user variable, it may have a semicolon in it.
If
it does, it will not work. my TEMP user var is

%USERPROFILE%\AppData\Local\Temp

On Sun, Nov 8, 2015 at 12:46 AM, Casey Havenor <
notifications@github.com>
wrote:

@hopslikeshaq32la https://github.com/hopslikeshaq32la here is
what
my
vars look like -- what did you change yours to?

User Vars
%USERPROFILE%\AppData\Local\Temp;C:\Program Files
(x86)\Java\jdk1.6.0_25\bin
System Vars.
%SystemRoot%\TEMP


Reply to this email directly or view it on GitHub
<

#106 (comment)

.


Reply to this email directly or view it on GitHub
<
https://github.com/heroku/heroku-cli/issues/106#issuecomment-157607391>
.


Reply to this email directly or view it on GitHub
#106 (comment).

@chavenor
Copy link

Yup.

C:\Windows\System32>heroku update
 !    `heroku update` is only available from Heroku Toolbelt.
 !    Download and install from https://toolbelt.heroku.com

@jdx
Copy link
Contributor

jdx commented Nov 18, 2015

uninstall the heroku gem

@chavenor
Copy link

Removed the gem.
gem uninstall heroku

Re Installed from msi package from heroku.

Getting. Bingo.

Working! We are in business.

@dickeyxxx I'll update all my tickets and close them out

@chavenor
Copy link

Thanks for the help on this !

@jdx
Copy link
Contributor

jdx commented Nov 18, 2015

I might see if I can repro and file a bug with npm since that's where the problem seems to be.

@chavenor
Copy link

Here is a thread with another guy that was having issues.
npm/npm#9846

@chavenor
Copy link

You should be tagged on that post.

jdx added a commit that referenced this issue Jun 19, 2018
docs: added topic descriptions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants