Webpack build fails (react-scripts 0.9.5)
See original GitHub issueWhen importing and using URL
in an app created with create-react-app
, building a production app fails with:
> react-scripts build
Creating an optimized production build...
Failed to compile.
static/js/main.38ef0137.js from UglifyJs
SyntaxError: Name expected [./~/whatwg-url/lib/url-state-machine.js:6,0]
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:9 (5 by maintainers)
Top Results From Across the Web
react-scripts start throws an error when webpack is installed to ...
I am getting an error in my react project after I run npm start after installing webpack. npm install webpack npm install webpack-dev-server....
Read more >Webpack 5 errors | ImmutableX Documentation
The reason for this error is that create-react-app uses a version of webpack greater than 5, which, unlike versions < 5, does not...
Read more >react-scripts-ts - npm Package Health Analysis - Snyk
When you're ready to deploy to production, create a minified bundle with npm run build . Migration. In general, most upgrades won't require...
Read more >react-scripts' is not recognized as an internal or external ...
To do this, first make sure that react-scripts is listed in your package.json file. If it is not, then you can add it...
Read more >react-scripts - UNPKG
The CDN for react-scripts. ... 110, You will also see any lint errors in the console. ... This tells Webpack to include that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sounds like you should file a bug with webpack.
I think @domenic is against mentioning other projects in general.