heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 380 forks source link

Installing Heroku on windows 10: Error installing package. #1779

Open iam--nash opened 8 years ago

iam--nash commented 8 years ago

after installing heroku-toolbelt on my system (windows 10). It keeps trying to install heroku core plugin, in which I always got this error..

Error installing package.Try running again with GODE_DEBUG=info ####.

Another Question what does it mean running again with GODE_DEBUG=info? Newbie here .

jdx commented 8 years ago

It's an environment variable. Run set GODE_DEBUG=info

iam--nash commented 8 years ago

@dickeyxxx

After running _set GODEDEBUG=info I am now getting this.. npm info using npm@2.14.7 npm info using node@v4.2.1 npm info attempt registry request try #1 at 9:50:00 PM npm http request GET https://cli-npm.heroku.com/heroku-cli-addons npm info attempt registry request try #1 at 9:50:00 PM npm http request GET https://cli-npm.heroku.com/heroku-apps npm info attempt registry request try #1 at 9:50:00 PM npm http request GET https://cli-npm.heroku.com/heroku-fork npm info attempt registry request try #1 at 9:50:00 PM npm http request GET https://cli-npm.heroku.com/heroku-git npm info attempt registry request try #1 at 9:50:00 PM npm http request GET https://cli-npm.heroku.com/heroku-local npm info attempt registry request try #1 at 9:50:00 PM npm http request GET https://cli-npm.heroku.com/heroku-run npm ERR! Windows_NT 10.0.10240

npm ERR! argv "C:\Users\MyPC\AppData\Local\heroku\node-v4.2.1-windows-x86\bin\node.exe" "C:\Users\MyPC\AppData\Local\heroku\node-v4.2.1-windows-x86\lib\node_modules\npm\cli.js" "install" "heroku-cli-addons" " heroku-apps" "heroku-fork" "heroku-git" "heroku-local" "heroku-run" "heroku-status" "--loglevel=info"

npm ERR! node v4.2.1 npm ERR! npm v2.14.7

npm ERR! error:0906D06C:PEM routines:PEM_read_bio:no start line

jdx commented 8 years ago

Why does it have C:\User then C:\Users? Is one of your environment variables incorrect? What is the output of set?

iam--nash commented 8 years ago

There is no output when I tried to run set GODE_DEBUG=info in cmd. I am not certain if i have an incorrect environment variables. but this is what's inside my path.

C:\Users\Fernandez\AppData\Roaming\npm

jdx commented 8 years ago

You just showed me the extra output GODE_DEBUG=info displayed... does any of your env vars reference C:\User instead of C:\Users? That looks to be your problem.

iam--nash commented 8 years ago

@dickeyxxx the output that i posted a couple of hours ago was when i tried to run heroku command. after running set GODE_DEBUG=info. but before. i dont get that output .

iam--nash commented 8 years ago

upon checking my environment variable i don't see anything referencing to C:User . and sorry It's a typo that I type User instead of Users . I checked the output again ..

jdx commented 8 years ago

That bit at the end npm ERR! error:0906D06C:PEM routines:PEM_read_bio:no start line looks suspicious. Are you behind a proxy?

iam--nash commented 8 years ago

nope, I am not under a proxy .and I always make sure to turn off windows defender when doing this things, for it might affect the request.

iam--nash commented 8 years ago

@dickeyxxx what is really happening when I run set GODE_DEBUG=info ? It doesn't output anything. but the output when i tried to run any heroku command changed. I also think that, this is somehow related to issue #93 submitted by technicalpickles

iam--nash commented 8 years ago

@dickeyxxx after checking some other issues that might be related to my issue, I have found out on error #1543 . That he has these following files which I dont have in my .heroku folder: client folder usage folder autoupdate.last error.log heroku-cli.exe.

I only have the client folder .. what could have been my problem ? I haven't deleted any of those .

Bigcountry425 commented 8 years ago

David bigcountry wardlaw, won't to say. You might want to check your infrastructure being you running with codes it maybe code is wrong or platform could be needed to be restarted. Between both they might not be lining up to gather or you might be able to shout it all down and let reboot together. and user I would used ( users. ).thanks for letting me comment David bigcountry wardlaw