Skip to content

Instantly share code, notes, and snippets.

@coetry
Created October 18, 2019 00:25
Show Gist options
  • Save coetry/fc1a2086a9db911a7aa8257140782113 to your computer and use it in GitHub Desktop.
Save coetry/fc1a2086a9db911a7aa8257140782113 to your computer and use it in GitHub Desktop.
»npm run build
> [email protected] build /private/tmp/css-hacks
> gatsby build
The above error occurred in the <ReduxStoreProvider> component:
in ReduxStoreProvider
in App
React will try to recreate this component tree from scratch using the error boundary you provided, App.
Warning: App: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `gatsby build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/coetry/.npm/_logs/2019-10-18T00_25_03_251Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment