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.

cli: add a `backstage-cli info` command

See original GitHub issue

Feature Suggestion

Similarly to the Tauri CLI, add an info command to backstage-cli that lists at least

  • operating system
  • node version
  • npm version
  • yarn version (even if this is expected to be the pinned one in the repo - still useful to look for deviations)
  • the version of the currently running backstage-cli
  • whether the current repo is a clone or a fork or a create-app generated repo?
  • more? Perhaps actual resolved versions of backstage libraries that the app and backend packages build against?

Context

When helping users with issues, we very often ask for info like this. It would be very useful to be able to tell users to paste the output of this command as-is.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
OrkoHuntercommented, Jul 27, 2021

@lmasiero You’re running backstage-cli from a different place than the one on docs https://backstage.io/docs/deployment/docker#multi-stage-build

yarn --cwd packages/cli/bin backstage-cli ... vs yarn --cwd packages/backend backstage-cli

0reactions
autoamatorcommented, May 20, 2022

@orihomie, had the same problem, what did the trick for me was adding following line:

RUN yarn tsc
RUN yarn add -W @backstage/cli #        <-----
RUN yarn --cwd packages/backend build
Read more comments on GitHub >

github_iconTop Results From Across the Web

Commands · Backstage Software Catalog and Developer ...
This page lists all commands provided by the Backstage CLI, what they're for, and where to use them. help. This command displays a...
Read more >
@backstage/cli - npm
Start using @backstage/cli in your project by running `npm i ... There are 7 other projects in the npm registry using @backstage/cli.
Read more >
Add a backend:bundle command to the CLI #3347 - GitHub
Feature Suggestion Right now the only simply way to deploy a production version of the backend is by using the backend:build-image command.
Read more >
@backstage/cli - NPM Package Overview - Socket - Socket.dev
This package provides a CLI for developing Backstage plugins and apps. Installation. Install the package via Yarn: yarn add @backstage/cli. Development. For ...
Read more >
Dependencies | @backstage/cli | npm - Open Source Insights
arrow_right @babel/core. 7.20.5 Notes Version 7.20.5 Published November 28... arrow_right @babel/plugin‑transform‑modules‑commonjs. 7.19.6 Notes Version 7.19.6 Published October 20, 20...
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