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

[kiali] Module not found: Error: Can't resolve '../../assets/img/runtime/quarkus.svg' #1527

Open
nanjingfm opened this issue Apr 22, 2024 · 0 comments · May be fixed by #1816
Open

[kiali] Module not found: Error: Can't resolve '../../assets/img/runtime/quarkus.svg' #1527

nanjingfm opened this issue Apr 22, 2024 · 0 comments · May be fixed by #1816
Labels
jira kind/bug Something isn't working status/triage

Comments

@nanjingfm
Copy link

Describe the bug

After I followed the documentation to add the Kiali frontend plugin, running yarn dev resulted in the following error:

[0] ERROR in ../../node_modules/@janus-idp/backstage-plugin-kiali/dist/index.esm.js 6550:17-65
[0] Module not found: Error: Can't resolve '../../assets/img/mtls-status-full.svg' in '/Users/xx/code/backstage/octopus/node_modules/@janus-idp/backstage-plugin-kiali/dist'
[0] 
[0] ERROR in ../../node_modules/@janus-idp/backstage-plugin-kiali/dist/index.esm.js 6551:19-70
[0] Module not found: Error: Can't resolve '../../assets/img/mtls-status-partial.svg' in '/Users/xx/code/backstage/octopus/node_modules/@janus-idp/backstage-plugin-kiali/dist'
[0] 
[0] ERROR in ../../node_modules/@janus-idp/backstage-plugin-kiali/dist/index.esm.js 6552:21-74
[0] Module not found: Error: Can't resolve '../../assets/img/mtls-status-full-dark.svg' in '/Users/xx/code/backstage/octopus/node_modules/@janus-idp/backstage-plugin-kiali/dist'
[0] 
[0] ERROR in ../../node_modules/@janus-idp/backstage-plugin-kiali/dist/index.esm.js 6553:23-79
[0] Module not found: Error: Can't resolve '../../assets/img/mtls-status-partial-dark.svg' in '/Users/xx/code/backstage/octopus/node_modules/@janus-idp/backstage-plugin-kiali/dist'
[0] 
[0] ERROR in ../../node_modules/@janus-idp/backstage-plugin-kiali/dist/index.esm.js 10675:20-63
[0] Module not found: Error: Can't resolve '../../assets/img/api/graphql.svg' in '/Users/xx/code/backstage/octopus/node_modules/@janus-idp/backstage-plugin-kiali/dist'

I also did not find the corresponding SVG in the node_modules.

image

Expected Behavior

What are the steps to reproduce this bug?

  1. Follow the documentation to register the frontend and backend plugin
  2. "Run yarn dev from the project's root directory

Versions of software used and environment

    "@janus-idp/backstage-plugin-kiali": "^1.16.4",
@nanjingfm nanjingfm added kind/bug Something isn't working status/triage labels Apr 22, 2024
@github-actions github-actions bot added the jira label Apr 22, 2024
JounQin added a commit to JounQin/backstage-plugins that referenced this issue Jun 17, 2024
@JounQin JounQin linked a pull request Jun 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira kind/bug Something isn't working status/triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant