You may need an appropriate loader to handle this file type
See original GitHub issueI’m trying to deploy my app but when I run this command: npm run build
I get some error messages.
Versions: Node: v7.4.0 NPM: 4.0.5 React-Boilerplate: 3.4.0
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:8 (2 by maintainers)
Top Results From Across the Web
"You may need an appropriate loader to handle this file type ...
js file is doing is importing react, but it seems like the 'babel-loader' is not working. I am using 'babel-loader' 6.0.0. javascript ·...
Read more >Fix : You may need an appropriate loader to handle this file type
The “You may need an appropriate loader to handle this file type” error is encountered in the command prompt of Windows or Linux...
Read more >You may need an appropriate loader to handle this file type ...
I 'm having a problem configuring Webpack for Typescript and React. After running the NPM script: webpack serves ./webpack/webpack.config.ts ...
Read more >Module parse failed: Unexpected token. You may ... - GitHub
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. #996.
Read more >You might need an appropriate loader to handle the file type ...
You might need an appropriate loader to handle the file type error. r/react - Hi , I am getting an appropriate loader required...
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 Free
Top 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
Looks like it’s a bug in babel-plugin-transform-react-constant-elements. Had the same issue and removing it from env plugins helped me
Apologies to comment on a close issue, but for those who end up here from google, my gotcha here was I had added code outside of
app
directory, not realising that the react-boilperplate package.json configures babel, and configures it only theapp
directory.Updating to:
Solved my problem