0

I have read this post, but it didn't solve my issue:

In my case, the svg file is enormous which makes it impossible to edit. I tried some npm modules but all of them are not compatible with my react-dom version (^15.4.1).

I tried also an optimiser which is supposed to strip down some of the useless for react metatags.

Is there any workaround?

Community
  • 1
  • 1
StLia
  • 912
  • 1
  • 11
  • 24
  • have you tried https://github.com/atomic-app/react-svg library? It worked for me. – bognix Feb 24 '17 at 14:58
  • @bognix UNMET PEER DEPENDENCY react-dom@15.4.1 :/ – StLia Feb 24 '17 at 15:46
  • see if something from this thread would help you - http://stackoverflow.com/questions/20764881/why-does-npm-install-say-i-have-unmet-dependencies – bognix Feb 24 '17 at 16:11
  • Nice one but: There is another problem which is out of this scope. Point is I was sent a tar with the node modules and a package.json... npm install breaks everything. But using the tar it works. So npm install is out of the discussion. On the other hand, other additional modules where installed successfully. Anyway, out of scope.. – StLia Feb 24 '17 at 17:19

0 Answers0