Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Eco Pass] warning for broken images #930

Closed
arnoweiss opened this issue Jun 13, 2024 · 2 comments · Fixed by #934
Closed

[Eco Pass] warning for broken images #930

arnoweiss opened this issue Jun 13, 2024 · 2 comments · Fixed by #934
Assignees
Labels
bug Something isn't working

Comments

@arnoweiss
Copy link
Contributor

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
@arnoweiss arnoweiss added the bug Something isn't working label Jun 13, 2024
@matbmoser
Copy link
Contributor

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants