Hi Backstage Team,
We are encountering a runtime error while Updating the backstage from 1.27 to 1.28.4:
TypeError: Cannot read properties of undefined (reading 'id') at Object.createSpecializedBackend (/Users/dusharma/Desktop/git/backstage-backend-forke/backstage-backend/node_modules/@backstage/backend-defaults/node_modules/@backstage/backend-app-api/dist/index.cjs.js:846:28) at createBackend (/Users/dusharma/Desktop/git/backstage-backend-forke/backstage-backend/node_modules/@backstage/backend-defaults/dist/index.cjs.js:46:24) at eval (webpack-internal:///./src/index.ts:34:91) at ./src/index.ts (/Users/dusharma/Desktop/git/backstage-backend-forke/backstage-backend/packages/backend/dist/main.js:1490:1) at __webpack_require__ (/Users/dusharma/Desktop/git/backstage-backend-forke/backstage-backend/packages/backend/dist/main.js:3114:33) at /Users/dusharma/Desktop/git/backstage-backend-forke/backstage-backend/packages/backend/dist/main.js:4159:37 at Object.<anonymous> (/Users/dusharma/Desktop/git/backstage-backend-forke/backstage-backend/packages/backend/dist/main.js:4161:12) at Module._compile (node:internal/modules/cjs/loader:1364:14) at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) at Module.load (node:internal/modules/cjs/loader:1203:32)
📌 Context
This error occurs when invoking createBackend() during startup.
We're using Backstage version: 1.28.4
❓ Request
Could you please help us confirm:
The root cause of this error (or any known cases)?
Whether there is an expected structure for each plugin/module being passed to createBackend()?
If there are any recent changes in @backstage/backend-app-api that could affect how extension points are registered or validated?
Let us know if you need more information from our side, including src/index.ts snippets or package.json dependencies.
Thanks in advance for your support!