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.

Development build fails after upgrading to react-scripts 0.8.2

See original GitHub issue

Description

After upgrading to the latest version of create-react-app and react-scripts (0.8.2) the build task fails.

Expected behavior

Build should pass on a newly created app, or updating an existing app to react-scripts v0.8.2

Actual behavior

In both a newly created app or in an existing app upgraded, the build fails:

image

Downgrading both scenarios back to v0.8.1 makes the build complete successfully again.

Environment

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

  1. npm ls react-scripts (if you haven’t ejected): react-scripts:@0.8.2
  2. node -v: v6.7.0
  3. npm -v:3.10.8

However I am using Yarn v0.17.10 for all actions.

Then, specify:

  1. Operating system: Windows 8
  2. Browser and version: Fails in command console, so not applicable

Reproducible Demo

To reproduce create a new app and run yarn build.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:12 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
XVincentXcommented, Dec 8, 2016

😱

2reactions
gaearoncommented, Dec 8, 2016

Sorry about that. We need to start doing Windows CI builds…

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - npm start error with create-react-app - Stack Overflow
It just means something went wrong when dependencies were installed the first time. I suggest doing these three steps: npm install -g npm@latest ......
Read more >
How to build an Electron app using create-react-app ... - Medium
Most use webpack for the configuration necessary for React development. webpack is a configuration and build ... This will fail when loading it...
Read more >
My experience migrating a React App from Create-React-App ...
Yarn command to update react-scripts. Upon starting up the dev environment for my app I noticed that the compile-time reduced considerably, ...
Read more >
How to get "create-react-app" to work with your API - Fullstack.io
Update (8/25/2016): react-scripts version 0.2.3 was released, adding a proxy feature for the Webpack development server to address CORS ...
Read more >
CRA 5.0.0 breaks build : r/reactjs - Reddit
Open package.json and verify that react-scripts is version 5.0.0 · Open the App.test.tsx file and introduce any syntax error. For instance, ...
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