glayzzle / glayzzle/codemirror-linter

Uncaught TypeError: Cannot read property 'line' of undefined

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Getting this error trying to use this linter:

```
Uncaught TypeError: Cannot read property 'line' of undefined
at groupByLine (lint.js?ver=10.5.0:107)
at updateLinting (lint.js?ver=10.5.0:167)
at lint.js?ver=10.5.0:159
at runInOp (codemirror.js?ver=10.5.0:3921)
at CodeMirror.operation (codemirror.js?ver=10.5.0:8603)
at startLinting (lint.js?ver=10.5.0:159)
at lint.js?ver=10.5.0:206
```

Also, is this rep still being maintained?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with lint.js at groupByLine (line 107), then follow its callers in updateLinting and startLinting. Reproduce the linter use described in the report and inspect the undefined value behind the TypeError. Done means the reported use no longer raises this uncaught error and the existing CodeMirror linting flow still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.