Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Uncaught TypeError: Cannot read property 'length' of undefined

オープン
#2 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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:]

  1. ...
  2. ...

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 はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ericadamski/atom-github-source-code のほかの issue

ericadamski/atom-github-source-code の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。