utf-8 bom issue
See original GitHub issueERROR in ./~/babel-loader!./~/svg-react-loader!./ui/images/affirm-logo.svg
Module build failed: Error: Non-whitespace before first tag.
Line: 0
Column: 1
Char: m
at error (/Users/chetcorcos/code/styleguide/node_modules/svg-react-loader/node_modules/xml2js/node_modules/sax/lib/sax.js:652:8)
at strictFail (/Users/chetcorcos/code/styleguide/node_modules/svg-react-loader/node_modules/xml2js/node_modules/sax/lib/sax.js:675:22)
at Object.write (/Users/chetcorcos/code/styleguide/node_modules/svg-react-loader/node_modules/xml2js/node_modules/sax/lib/sax.js:955:11)
at Parser.exports.Parser.Parser.parseString (/Users/chetcorcos/code/styleguide/node_modules/svg-react-loader/node_modules/xml2js/lib/xml2js.js:481:31)
at Parser.parseString (/Users/chetcorcos/code/styleguide/node_modules/svg-react-loader/node_modules/xml2js/lib/xml2js.js:7:59)
at Object.module.exports (/Users/chetcorcos/code/styleguide/node_modules/svg-react-loader/index.js:45:15)
@ ./checkout/main.js 50:17-65
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:11 (3 by maintainers)
Top Results From Across the Web
What's the difference between UTF-8 and UTF-8 with BOM?
The UTF-8 BOM is a sequence of bytes at the start of a text stream ( 0xEF ... There are at least three...
Read more >Headaches of UTF-8 BOM! - Pluralsight
UTF 8 BOM (or Byte Order Mark) can throw a wrench into any Rest API and cause nothing but headaches. Learn how to...
Read more >Files encoded with UTF-8 BOM are (still) not supported #500
Files encoded with UTF-8 with BOM (e.g. CSV files saved by Excel) are not correctly read: The BOM character is not being discarded....
Read more >UTF-8 BOM and SEO: How to find, clean, and fix an invisible ...
How to fix UTF-8 BOM in your robots.txt file: Fixing the issue is pretty easy. I recommend using a text editor like Textpad...
Read more >Byte order mark - Wikipedia
BOM use is optional. Its presence interferes with the use of UTF-8 by software that does not expect non-ASCII bytes at the start...
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
The
-!
prefix worked for me also, for anyone looking for ES6/2015 syntax, try:crap. I meant to close this. It was a problem with the way I was loading it. you need to prefix
require("-!...
when you’re overriding other loaders…