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

Plugin does not work for backend version 1.0 since backstage 1.31 #57

Open
Damounet opened this issue Oct 31, 2024 · 2 comments
Open

Plugin does not work for backend version 1.0 since backstage 1.31 #57

Damounet opened this issue Oct 31, 2024 · 2 comments
Assignees
Labels
component/config Plugin configuration dependencies Pull requests that update a dependency file kind/bug Something isn't working
Milestone

Comments

@Damounet
Copy link

Describe the bug

Having the plugin enabled and configured works on 1.29, I updated backstage to 1.32, and when starting the app it ends with this logs :

[1] /mnt/c/work/ASD/backstage-asd/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:547
[1] throw new Error(Invalid BackendFeature, bad type '${feature.$$type}');
[1] ^
[1]
[1]
[1] Error: Invalid BackendFeature, bad type '@backstage/BackendFeatureFactory'
[1] at toInternalBackendFeature (/mnt/c/work/ASD/backstage-asd/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:547:11)
[1] at isServiceFactory (/mnt/c/work/ASD/backstage-asd/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:561:20)
[1] at BackendInitializer.#addFeature (/mnt/c/work/ASD/backstage-asd/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:163:9)
[1] at BackendInitializer.#doStart (/mnt/c/work/ASD/backstage-asd/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:194:12)
[1] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
[1] at BackendInitializer.start (/mnt/c/work/ASD/backstage-asd/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackendInitializer.ts:187:5)
[1] at BackstageBackend.start (/mnt/c/work/ASD/backstage-asd/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/src/wiring/BackstageBackend.ts:38:11)
[1]
[1] Node.js v20.9.0

image

Commenting this line, and thus not activating Microcks let backstage starts properly

Expected behavior

Backstage should be working properly with the plugin enabled

Actual behavior

No response

How to Reproduce?

No response

Microcks version or git rev

0.0.5

Install method (docker-compose, helm chart, operator, docker-desktop extension,...)

No response

Additional information

No response

@lbroudoux lbroudoux added kind/bug Something isn't working component/config Plugin configuration dependencies Pull requests that update a dependency file labels Nov 4, 2024
@lbroudoux lbroudoux added this to the 0.0.6 milestone Nov 4, 2024
@lbroudoux lbroudoux self-assigned this Nov 8, 2024
@lbroudoux lbroudoux changed the title plugin does not work for backend version 1.0 since backstage 1.31 Plugin does not work for backend version 1.0 since backstage 1.31 Nov 8, 2024
@lbroudoux
Copy link
Member

I've started working on that and currently trying to reproduce it.

@lbroudoux
Copy link
Member

lbroudoux commented Nov 9, 2024

Ok. Got base stuff working with the new version of the backend plugin system. Now investigating how to migrate this in the cleanest way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/config Plugin configuration dependencies Pull requests that update a dependency file kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants