question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Latest rule change breaks with crash and no alternative

See original GitHub issue

This commit breaks with eslint 3.19.0: https://github.com/facebookincubator/create-react-app/commit/42efedbeb24c5370ea52340f7c62300d52dbc23b

Module build failed: Error: node_modules/eslint-config-react-app/index.js:
	Configuration for rule "no-use-before-define" is invalid:
	Value "[object Object]" no (or more than one) schemas match.

Referenced from:
    at Array.forEach (native)
    at Array.reduceRight (native)

Description

Running npm run build

"build": "cross-env BABEL_ENV=production react-scripts build",

Actual behavior

Crash with mentioned error.

Environment

Run these commands in the project folder and fill in their results:

react-scripts@1.0.6
v6.6.0
4.2.0

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
anna-buchercommented, May 25, 2017

This problem appears when using yarn. Does not happen with npm.

I’ll share the link to the project repository. After I push it online.

1reaction
gaearoncommented, Jun 1, 2017

Yes, this is because it is a Yarn bug (so occurs with installations produced by yarn). Whether you use yarn start or npm start later doesn’t matter—they do exactly the same thing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

New Car Assessment Program - Federal Register
NHTSA's New Car Assessment Program (NCAP) provides comparative information on the safety performance of new vehicles to assist consumers ...
Read more >
Will NHTSA rule on automatic braking lead to fewer crashes?
WASHINGTON — An upcoming proposed rule from NHTSA could drive improvements in a widely deployed crash-avoidance technology that has been ...
Read more >
Regulations - NHTSA
The rule requires the vast majority of new heavy truck tractors to achieve a 30 percent reduction in stopping distance compared to currently...
Read more >
Determining Fault for a Crash When Merging or Changing ...
In most situations, the driver who merges or changes lanes is generally found at fault in the event of an accident. The driver...
Read more >
Federal Motor Vehicle Safety Standards ... - Regulations.gov
Specifically, NHTSA is proposing to establish a new Federal motor vehicle safety ... The agencies seek comments and suggestions on any alternative options ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found