Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upRange error? Not enough lines of code?? #997
Comments
This comment has been minimized.
This comment has been minimized.
dein0s
commented
Oct 24, 2017
|
Just got the same exception. The reason was in extra spaces in the ending line. |
EGM
closed this
Nov 25, 2017
lock
bot
locked as resolved and limited conversation to collaborators
May 24, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
EGM commentedOct 7, 2017
standard: Unexpected linter output:
RangeError: Line number out of range (line 79 requested, but only 78 lines present).
at SourceCode.getIndexFromLoc (/storage/emulated/0/AppProjects/dsalt/node_modules/eslint/lib/util/source-code.js:389:19)
at Object.fix (/storage/emulated/0/AppProjects/dsalt/node_modules/eslint/lib/rules/no-multiple-empty-lines.js:116:52)
at RuleContext.report (/storage/emulated/0/AppProjects/dsalt/node_modules/eslint/lib/rule-context.js:127:34)
at Program:exit.allLines.reduce.concat.reduce (/storage/emulated/0/AppProjects/dsalt/node_modules/eslint/lib/rules/no-multiple-empty-lines.js:108:37)
at Array.reduce (native)
at EventEmitter.Program:exit (/storage/emulated/0/AppProjects/dsalt/node_modules/eslint/lib/rules/no-multiple-empty-lines.js:93:22)
at emitOne (events.js:101:20)
at EventEmitter.emit (events.js:188:7)
at NodeEventGenerator.applySelector (/storage/emulated/0/AppProjects/dsalt/node_modules/eslint/lib/util/node-event-generator.js:265:26)
at NodeEventGenerator.applySelectors (/storage/emulated/0/AppProjects/dsalt/node_modules/eslint/lib/util/node-event-generator.js:294:22)
If you think this is a bug in
standard, open an issue: https://github.com/standard/standard/issuesnpm ERR! Test failed. See above for more details.
code : 1 / signal : 0