GitHub Enterprise: TypeError: Cannot read property 'map' of undefined
See original GitHub issue- Extension version: 0.2.0
- VSCode Version: 1.28.1 (3368db6750222d319c851f6d90eb619d886e08f5)
- OS: macOS 10.12.6
Steps to Reproduce:
- Add
github.hostsentry to workspace config - Open Source Control panel in VSCode
- Expand GitHub Pull Requests pane
- Expand any items in tree
Result: Fetching all pull requests failed: TypeError: Cannot read property 'map' of undefined
Output from extension shows:
Looking for git repository
Git repository found, initializing review manager and pr tree view.
No GitHub remotes found
Found GitHub remote
Review> no matching pull request metadata found for current branch feature/xxxxxxxxxxxxxxxx
GitHubRepository> Fetching all pull requests failed: TypeError: Cannot read property 'map' of undefined
GitHubRepository> Fetching all pull requests failed: TypeError: Cannot read property 'map' of undefined
Workspace settings:
"github.hosts": [
{
"host": "https://git.company-name.com",
"username": "justin-unterreiner",
"token": "xxxxxxxxxxxxxxxxxxxx"
}
]
Additional information:
- Our GitHub instance does not use a self-signed certificate, it is a valid certificate signed by GoDaddy.
- I am able to use the GitLense VSCode extension with our enterprise GitHub instance by setting
gitlens.remotesin the workspace settings
Issue Analytics
- State:
- Created 5 years ago
- Reactions:11
- Comments:13 (4 by maintainers)
Top Results From Across the Web
TypeError: Cannot read property 'map' of undefined #24 - GitHub
When I try to use this action with pull_request on: pull_request: types: [closed] branches: [master] I receive this error TypeError: Cannot ...
Read more >"TypeError: Cannot read property 'map' of undefined ... - GitHub
"TypeError: Cannot read property 'map' of undefined at asCompletionResult" occurs when a file is editted before the extension fully activates #2807.
Read more >TypeError: Cannot read property 'map' of undefined #30382
Got this message. Description I just creact fresh new project.Build it then got this error.I dont even touch a single line of code...
Read more >TypeError: Cannot read property 'map' of undefined ... - GitHub
TypeError : Cannot read property 'map' of undefined. the api comes from a graphql response. and here my code: /pages/index.tsx.
Read more >Cannot read property 'map' of undefined · Issue #3304 - GitHub
Describe the bug When adding a component that contains an index.js and index.d.ts it's sometimes error'ing on the index.d.ts with Cannot ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Glad I’m not the only one. GitHub Enterprise with VSCode seems to be a general pain. 😕
I also have this issue.