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.

Backstage-cli option --backend missing

See original GitHub issue

Expected Behavior

When I run yarn create-plugin --backend, I expect the setup wizard, as documented at https://backstage.io/docs/plugins/backend-plugin#creating-a-backend-plugin.

Actual Behavior

Error thrown

$ yarn backstage-create --select plugin --backend
$ backstage-cli create --scope backstage --no-private --select plugin --backend
error: unknown option '--backend'
error Command failed with exit code 1.

Your Environment

$ yarn backstage-cli info
OS:   Darwin 21.3.0 - darwin/x64
node: v16.14.2
yarn: 1.22.1
cli:  0.17.0 (local)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
awanlincommented, Apr 29, 2022

Worth noting the yarn backstage-cli create experience is pretty awesome and worth trying out, gives you options for frontend, backend and common plugin types. Super handy!

0reactions
benjdlambertcommented, Apr 30, 2022

Nice! Glad it got sorted @dweber019! And yep, @awanlin is correct. The create stuff is the nice new way! 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

yarn create-plugin --backend no longer works #8581 - GitHub
The missing piece there is to update the root package.json to have the backstage-create script which runs backstage-cli create along with ...
Read more >
Reading Backstage Configuration
There's a common configuration API for by both frontend and backend plugins. ... The configuration API is tailored towards failing fast in case...
Read more >
@backstage/plugin-todo-backend - npm package | Snyk
A Backstage backend plugin that lets you browse TODO comments in your source code For more information about how to use this package...
Read more >
How to create backstage.io plugins in Backend - YouTube
Exploring ways to create a new backstage.io backend plugin and power it up with the available tools.
Read more >
import-ldif — import directory data from LDIF
It cannot be used to append data to the backend database. Options. The import-ldif command takes the following options: Command options: -A |...
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