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 upCannot run command standard in a React native project #1012
Comments
Flet
added
the
v11 release
label
Dec 15, 2017
This comment has been minimized.
This comment has been minimized.
feross
added this to the
standard v11 milestone
Feb 17, 2018
This comment has been minimized.
This comment has been minimized.
|
Changelog: https://github.com/standard/standard/blob/master/CHANGELOG.md#1100---2018-02-18 |
feross
closed this
Feb 19, 2018
lock
bot
locked as resolved and limited conversation to collaborators
May 25, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
ansonyao commentedNov 3, 2017
•
edited
I just installed today.
When I run command standard. The following error shows up.
RangeError: Line number out of range (line 30 requested, but only 29 lines present).
at SourceCode.getIndexFromLoc (/usr/local/lib/node_modules/standard/node_modules/eslint/lib/util/source-code.js:389:19)
at Object.fix (/usr/local/lib/node_modules/standard/node_modules/eslint/lib/rules/no-multiple-empty-lines.js:116:52)
at RuleContext.report (/usr/local/lib/node_modules/standard/node_modules/eslint/lib/rule-context.js:127:34)
at Program:exit.allLines.reduce.concat.reduce (/usr/local/lib/node_modules/standard/node_modules/eslint/lib/rules/no-multiple-empty-lines.js:108:37)
at Array.reduce (native)
at EventEmitter.Program:exit (/usr/local/lib/node_modules/standard/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 (/usr/local/lib/node_modules/standard/node_modules/eslint/lib/util/node-event-generator.js:265:26)
at NodeEventGenerator.applySelectors (/usr/local/lib/node_modules/standard/node_modules/eslint/lib/util/node-event-generator.js:294:22)