eclipse-tractusx / eclipse-tractusx.github.io

https://eclipse-tractusx.github.io/
Apache License 2.0
29 stars 87 forks source link

[Eco Pass] warning for broken images #930

Closed arnoweiss closed 3 months ago

arnoweiss commented 3 months ago

Current Behavior

The build issues warnings that it can't process SVGs from the Eco Pass Kit. The image does however appear to render correctly. The same issue occurs for other kits, so a fix could be rolled out elsewhere too.

[WARNING] The image at "/mnt/c/Users/usr/IdeaProjects/eclipse-tractusx.github.io/docs-kits_versioned_docs/version-24.03/kits/Eco_Pass_KIT/resources/adoption-view/adoption-view-ValueChainBenefits.svg" can't be read correctly. Please ensure it's a valid image.
unsupported file type: undefined (file: /mnt/c/Users/usr/IdeaProjects/eclipse-tractusx.github.io/docs-kits_versioned_docs/version-24.03/kits/Eco_Pass_KIT/resources/adoption-view/adoption-view-ValueChainBenefits.svg)
[WARNING] The image at "/mnt/c/Users/usr/IdeaProjects/eclipse-tractusx.github.io/docs-kits_versioned_docs/version-24.03/kits/Eco_Pass_KIT/resources/development-view/dataRetrievalFlow.svg" can't be read correctly. Please ensure it's a valid image.
unsupported file type: undefined (file: /mnt/c/Users/usr/IdeaProjects/eclipse-tractusx.github.io/docs-kits_versioned_docs/version-24.03/kits/Eco_Pass_KIT/resources/development-view/dataRetrievalFlow.svg)

Expected Behavior

No build warning.

Steps To Reproduce

  1. clone
  2. npm install
  3. npm start
  4. behold logs
matbmoser commented 3 months ago

I believe there was a merge problem, the images uploaded in the 24.03 are corrupted. I will take a look and solve the problem

matbmoser commented 3 months ago

I have just fixed it! It was a problem with the way that the diagrams were exported in Draw.io