josdejong / jsoneditor

A web-based tool to view, edit, format, and validate JSON
http://jsoneditoronline.org
Apache License 2.0
11.62k stars 2.05k forks source link

Namespace tags are not supported. ReactJSX is not XML #805

Open JxSx opened 5 years ago

JxSx commented 5 years ago

Hi,I have a problem .Can you help me ?

`Uncaught Error: Module build failed (from C:/Users/wb-jx193676/AppData/Roaming/npm/node_modules/@ali/visualengine-devtools/node_modules/_babel-loader@7.1.5@babel-loader/lib/index.js): SyntaxError: D:/XCloud/vc-json-editor/node_modules/_jsoneditor@7.0.4@jsoneditor/dist/img/jsoneditor-icons.svg: Namespace tags are not supported. ReactJSX is not XML.

15 | JSON Editor Icons 16 |

17 | | ^ 18 | 19 | image/svg+xml</dc:format> 20 | `

josdejong commented 5 years ago

Doesn't ring a bell. Googling the error messages gives results around trying to load an SVG in React. The SVG of JSONEditor is not loaded in React though, it's loaded as a regular image via CSS.