question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrading backstage app to release-2021-06-28 or latest causing 'Settings' label is missing

See original GitHub issue

Expected Behavior

Upgrading from the previous version of the backstage app to release-2021-06-28 should be working normally. I have a backstage app that bootstrapped before release-2021-06-28 and upgrades it using this command: yarn backstage-cli versions:bump

Current Behavior

The ‘Settings’ label on the sidebar is missing, and I can’t click the toggle sidebar switch on the settings page.

Screen Shot 2021-07-02 at 17 20 25

Possible Solution

After I migrate the backstage app dependencies package @backstage/core to @backstage/core-* fixes the problem. The ‘Settings’ label and sidebar toggle can be clicked again.

Steps to Reproduce

  1. Scaffold new backstage app before release-2021-06-24
  2. Upgrade backstage to the latest by running: yarn backstage-cli versions:bump

Context

If migrating to separate @backstage/core-* is required then it should be stated in the changelog. Not sure if this is a bug that worth to take a look, or we can just stated in the changelog a guide for the migration.

Your Environment

  • NodeJS Version: v12.22.1
  • Operating System and Version: MacOS Catalina 10.15.7
  • Browser Information: Chrome Version 91.0.4472.106 (Official Build) (x86_64)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
timbonicuscommented, Jul 8, 2021

@dehamzah The arguments after core-imports are folders to process. So to run it in a standalone plugin repo, you’d want to change these to the folder(s) that are present. So instead of:

npx @backstage/codemods apply core-imports packages plugins

You can run this (for example, if there’s just a src directory):

npx @backstage/codemods apply core-imports src
1reaction
benjdlambertcommented, Jul 8, 2021

@dehamzah what’s your working directory when running this codemod? It should be in the root of your Backstage repo what create-app made for you. Looks like it can’t find packages or plugins which is a little concerning as one of those should exist at least. 😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

Keeping Backstage Updated
Updating Backstage versions with backstage-cli. The Backstage CLI has a command to bump all @backstage packages and dependencies you're using to the latest...
Read more >
backstage/CHANGELOG.md at master - GitHub
Backstage is an open platform for building developer portals - backstage/CHANGELOG.md at master · backstage/backstage.
Read more >
Avoid upgrade surprises with Backstage Upgrade Helper
The Backstage Upgrade Helper tool enables adopters to easily upgrade their Backstage app by using the power of git to create a diff...
Read more >
Running the Backstage service catalog with Docker Compose
In this tutorial, we're going to build and run a basic Backstage application with Docker Compose. The application will be able to store...
Read more >
@backstage/create-app - npm
A CLI that helps you create your own Backstage app. Latest version: 0.4.35, last published: 2 days ago. Start using @backstage/create-app in ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found