Locally spinning up the new backend system and the backend API routes are not wired up correctly. In the legacy backend, there is apiRouter that explicitly registered these paths, for example:
const apiRouter = Router();
apiRouter.use('/auth', await auth(authEnv));
apiRouter.use('/catalog', await catalog(catalogEnv));
...
While in the new backend, they seem to be hidden behind the packages per this guide - https://backstage.io/docs/backend-system/building-backends/migrating/#overall-structure
Not sure what we're missing. Any idea and debug tips will be helpful.
Attached my yarn tsc and yarn backstage-cli info.
Our yarn is pretty old at 1.22.22; we plan to upgrade it to the recommended version at 4.x as a seperate endeavor for problem isolation.