Vscode-pull-request-github: Cannot configure the extension

Created on 9 Sep 2019  路  10Comments  路  Source: microsoft/vscode-pull-request-github

Issue Type: Bug

Open the setting of the extension,then throw an error like that:command 'pr.configurePRViewlet' not found

Extension version: 0.10.0
VS Code version: Code 1.38.0 (3db7e09f3b61f915d03bbfa58e258d6eee843f35, 2019-09-03T21:49:13.459Z)
OS version: Windows_NT x64 10.0.18362


System Info

|Item|Value|
|---|---|
|CPUs|Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (8 x 1800)|
|GPU Status|2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: unavailable_off
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled|
|Load (avg)|undefined|
|Memory (System)|7.85GB (1.15GB free)|
|Process Argv||
|Screen Reader|no|
|VM|0%|


needs more info

Most helpful comment

Same issue on Arch, can't open any settings or configs. Just gives me the message as OP described.
Please reopen this

All 10 comments

@FrankHuy I haven't been able to reproduce this yet - how are you opening the settings of the extension? Is it from clicking a button the the "GitHub Pull Requests" view, from running a command, or something else?

Also seeing this now. When selecting "GitHub Pull Requests: Configure Remotes" an error alert pops up with "command 'pr.configureRemotes' not found"
Looking at the logs there is the followinng message

[Info] /Users/nschonni/.ssh/config: ENOENT: no such file or directory, open '/Users/nschonni/.ssh/config'
[Info] Looking for git repository

This is on OSX though

Just started happening, so it would be something in the 0.11 release

I'm having the same issue.

It started working for me again with the 0.11.1 release

yeah, I was also able to repro yesterday on 0.11.0, should have been fixed with https://github.com/microsoft/vscode-pull-request-github/commit/999b7eeb2e6362e36e8294a27d80fdced9ddd3fe

However, the original bug report was for 0.10.0, which didn't have the issue that 0.11.0 did. I'm going to tentatively close this since I can no longer reproduce this in 0.11.1, but please let me know if you encounter this again. Thanks everyone!

facing the same issue on vs code 1.39.2 version

Same issue on Arch, can't open any settings or configs. Just gives me the message as OP described.
Please reopen this

For Arch users or others using the OSS build of VSCode, @RMacfarlane recently mentioned that you will need to run code with a flag:

code --enable-proposed-api GitHub.vscode-pull-request-github

Alternatively, you can edit your product.json file (code installs this to /usr/lib/code/product.json).

"extensionAllowedProposedApi": [
    "GitHub.vscode-pull-request-github"
]

This issue is documented in the wiki and in other extensions' documentation. I have updated the Arch Wiki with this information and consolidated related errors under a single troubleshooting heading to help users understand the effect of the OSS build missing Microsoft's product.json.

What got this working for me was adding an entry to ~/.vscode/argv.json:

{
    // Allow Github Pull Request to work
    "enable-proposed-api": [
        "GitHub.vscode-pull-request-github"
    ]
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Simran-B picture Simran-B  路  4Comments

kieferrm picture kieferrm  路  4Comments

Jonnokc picture Jonnokc  路  3Comments

Velyks picture Velyks  路  3Comments

lumaxis picture lumaxis  路  3Comments