-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack config not found with create-react-app react-scripts 2.1.3 #1243
Comments
I've met exactly the same problem with
Hope it will be fix soon. |
@tung-eh, your fix works, unless when using TypeScript. When running |
Thanks @tung-eh it can be shortened to the cleaner: module.exports = {
webpackConfig: require( 'react-scripts/config/webpack.config' )
} |
The PR for a fix exists. #1241 |
I had this issue and solved it by downgrading into react 16 |
I got the same error. Nothing helps |
Current behavior
When a user starts web app development using create-react-app, installs react-styleguidist, and attempts to create a styleguide build, they are informed that:
To reproduce
Steps
package.json
This does not happen when
react-scripts
is set to version 2.1.1Expected behavior
Webpack config to be loaded from
react-scripts
.e.g.
The text was updated successfully, but these errors were encountered: