Open petrsnd opened 9 years ago
I'm seeing the same thing using keybase after the successful install:
PS ~> keybase version
C:\Users\Dan\AppData\Roaming\npm\node_modules\keybase\node_modules\keybase-path\lib\main.js:232
throw err;
^
Error: TEMP didn't end in \Temp
at Win32.home (C:\Users\Dan\AppData\Roaming\npm\node_modules\keybase\node_modules\keybase-path\lib\main.js:230:203)
at Win32.config_dir_v1 (C:\Users\Dan\AppData\Roaming\npm\node_modules\keybase\node_modules\keybase-path\lib\main.js:209:19)
at Env.get_config_dir (C:\Users\Dan\AppData\Roaming\npm\node_modules\keybase\lib\env.js:151:28)
at get_opt.dflt (C:\Users\Dan\AppData\Roaming\npm\node_modules\keybase\lib\env.js:236:31)
at Env.get_opt (C:\Users\Dan\AppData\Roaming\npm\node_modules\keybase\lib\env.js:143:231)
at Env.get_config_filename (C:\Users\Dan\AppData\Roaming\npm\node_modules\keybase\lib\env.js:227:19)
at C:\Users\Dan\AppData\Roaming\npm\node_modules\keybase\lib\env.js:174:32
at Env.maybe_fallback_to_layout_v1 (C:\Users\Dan\AppData\Roaming\npm\node_modules\keybase\lib\env.js:198:15)
at C:\Users\Dan\AppData\Roaming\npm\node_modules\keybase\lib\command\all.js:158:21
at C:\Users\Dan\AppData\Roaming\npm\node_modules\keybase\lib\command\all.js:167:15
Let me know how I can help.
The keybase binary also works as long as I load it without my profile.
From cmd.exe:
C:\Windows\System32>powershell -noprofile
Windows PowerShell
Copyright (C) 2014 Microsoft Corporation. All rights reserved.
PS C:\Windows\System32> keybase version
warn: No config file found; tried 'C:\Users\Dan\AppData\Roaming\keybase\config.json'
keybase (keybase.io CLI) v0.8.12
- node.js v0.12.7
- gpg (GnuPG) 2.0.28 (Gpg4win 2.2.5)
- libgcrypt 1.6.3
Identifies as: 'keybase.io node.js client v0.8.12 win32'
PS C:\Windows\System32>
Looks like it just me! My profile can be found here: https://gist.github.com/petrsnd/77eebce987473c0debc1
The only other thing is that I run Powershell inside ConEmu. But, I ran Powershell outside of ConEmu in the standard Windows console and it still fails with the same error.
After reviewing my profile, it doesn't seem like there is anything suspect in there. However, I do source in the GitHub for Windows powershell profile that sets things up to work well with GitHub.
. (Resolve-Path "$env:LOCALAPPDATA\GitHub\shell.ps1")
You might look into how well this works with GitHub for Windows when you have Powershell set as your default shell.
I confirmed that it is the GitHub for Windows Powershell profile causing the problem by replacing my custom profile with the GitHub for Windows file referenced in the last comment.
Used npm to get the installer, but it failed to install:
I tried under cmd.exe, and it first told me that I had forgotten to install GnuPG, but then it worked great. Not sure this is going to be an important issue for you, but lots of people on Windows run Powershell as their default shell. I'm not a huge node guy, but I haven't had problems running other node programs under Powershell.