Uncaught TypeError: Cannot read property 'length' of undefined
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- javascript
- 領域
- tooling
研究方向
從 lib/search.etch.js:117 的 Search.renderSearchField 開始,接著閱讀周圍的 render 流程,以及記錄下來的 toggle、backspace、confirm 和 move-down 指令。如果可以,請在 Windows 上的 Atom 1.46.0 中重現這個序列,並在相同的互動不再引發 TypeError 時,將 issue 視為完成。
由索引模型根據 Issue 內容生成。
描述
[Enter steps to reproduce:]
- ...
- ...
Atom: 1.46.0 x64
Electron: 4.2.7
OS: Microsoft Windows 10 Pro
Thrown From: github-source-code package 0.2.0
Stack Trace
Uncaught TypeError: Cannot read property 'length' of undefined
At C:\Users\iZhenius\.atom\packages\github-source-code\lib\search.etch.js:117
TypeError: Cannot read property 'length' of undefined
at Search.renderSearchField (/packages/github-source-code/lib/search.etch.js:117:24)
at Search.render (/packages/github-source-code/lib/search.etch.js:123:31)
at updateSync (/packages/github-source-code/node_modules/etch/lib/component-helpers.js:107:34)
at /packages/github-source-code/node_modules/etch/lib/component-helpers.js:72:7
at DefaultScheduler.performUpdates (/packages/github-source-code/node_modules/etch/lib/default-scheduler.js:48:34)
Commands
-1:08.6.0 github-source-code:toggle (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-0:54.5.0 core:backspace (input.hidden-input)
-0:51.4.0 core:confirm (input.hidden-input)
-0:48.3.0 core:move-down (input.hidden-input)
2x -0:47.9.0 core:confirm (input.hidden-input)
2x -0:47.3.0 core:move-down (input.hidden-input)
3x -0:46.8.0 core:confirm (input.hidden-input)
2x -0:42.6.0 github-source-code:toggle (input.hidden-input)
3x -0:37.4.0 core:backspace (input.hidden-input)
6x -0:33.4.0 core:confirm (input.hidden-input)
-0:15.6.0 github-source-code:toggle (div.panels-item)
Non-Core Packages
atom-formatter-jsbeautify 1.1.2
formatter 2.12.4
github-source-code 0.2.0
language-gitignore 0.3.0
language-gradle 0.1.0
language-groovy 0.7.0
language-kotlin 0.5.0
octophus 0.1.1
- 主要語言
- JavaScript
- 星號
- 0
- 分支
- 0
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
ericadamski/atom-github-source-code 的其他 Issue
-
難度 5/5 一週以上 新手友好度 10/100
-
bug help wanted
難度 3/5 1-2 天 新手友好度 32/100
ericadamski/atom-github-source-code#1 · 1 則留言 ·
查看 ericadamski/atom-github-source-code 的全部 Issue
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 72/100
capricorn86/happy-dom#2485 ·
維護者通常 2 天內回覆
-
難度 2/5 1 小時以內 新手友好度 74/100
siyuan-note/siyuan#20429 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 2 天內回覆
-
難度 1/5 1 小時以內 新手友好度 72/100
yjh051108/dsh-routing-suite#216 ·
-
[Bug] Completion info popup (.cm-completionInfo) ignores the configured editor font可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉bug user-priority/P2
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆