I have react component and getting this error when I choose a file.
Uncaught (in promise) SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON at JSON.parse (<anonymous>) at Object.onLoad (three-dxf-viewer.js?v=4a151fb9:4303:36) at three-dxf-viewer.js?v=4a151fb9:4141:29
Same error as #8, looks like the FontLoader is getting an Html parsed string, instead of a Json parsed string. Closing the issue since it looks duplicated.
I have react component and getting this error when I choose a file.
Uncaught (in promise) SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON at JSON.parse (<anonymous>) at Object.onLoad (three-dxf-viewer.js?v=4a151fb9:4303:36) at three-dxf-viewer.js?v=4a151fb9:4141:29
Whereas given is my react component