Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Uncaught TypeError: Cannot read property 'length' of undefined

Đang mở
#2 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
tooling

Hướng nghiên cứu

Bắt đầu tại lib/search.etch.js:117 trong Search.renderSearchField, sau đó đọc luồng render xung quanh và các lệnh toggle, backspace, confirm và move-down đã được ghi lại. Nếu có thể, hãy tái hiện chuỗi thao tác trong Atom 1.46.0 trên Windows, và coi issue là hoàn tất khi cùng tương tác đó không còn gây ra TypeError.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

[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 
Ngôn ngữ chính
JavaScript
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ericadamski/atom-github-source-code

Tất cả issue của ericadamski/atom-github-source-code

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.