-
Notifications
You must be signed in to change notification settings - Fork 6.5k
🐛 Bug Report: "Getting Started" instructions need updates #27576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @jerryjvl, just wanted to follow up on a few items here. Backstage will support Node 22 with in the Regarding the As for your guest auth issue that is one I don't have any details to share. I recently setup an old MacBook that I had reset to factory settings to dry run a Backstage setup from scratch. I did not have any issues with auth. You should not need to make any changes for this to work after running |
Having the same issue with guest auth, using Backstage v1.34.0, node v20.18.1
Yes
One of the logs I am not facing this issue using google auth What I want to achieve is simply developing using |
@notwatermango you'll want to make sure the guest auth provider is installed in the backend so that it can be used by the frontend during local development. It's installed out of the box in a new app, but this is the important bit: backstage/packages/backend/src/index.ts Line 35 in 29596ac
I'm gonna close this issue as it doesn't have any concrete next steps, but please do open new issues for any specific individual problems you run into when following the getting started guide. |
I already done all instructions, to the point of starting up a new backstage project just to check this issue. |
For me the fix is using Firefox instead of Chrome |
📜 Description
The first failure was when I used the Node version in the linked
nvm
docs (Node 22), which resulted in issues when yarn tried to installisolated-vm
-- once I reverted withnvm install 20
, the steps started working.The second failure happens when I try to use
guest
auth method to confirm the base create-app worked; I get errors processing theguest
user in theorg.yaml
, after adding generalallow
rules in every config file and did various attempts to rebuild the app, the runtime warnings about disallowed entity types went away, but I have no idea precisely what fixed those... regardless though, when I try to use Guest login in the install I first get a popup that "Failed to sign in as a guest using the auth backend. Do you want to fallback to the legacy guest token?", and if I accept that I get nothing but Authentication errors in the app that I cannot escape from.The third mayb-failure is that
create-app
appears to create a backend with a bunch of/alpha
imports in it, that do not seem to match with the config in the Backend repo itself, so I suspect the bootstrap template is also out of date.The combination of auth errors and uncertainty whether anything should stay
/alpha
to work, have left me in a place where I'm just going to have to hope that if I add a proper GitHub login that my problems will go away, but because it's not clear there isn't a more fundamental problem in this bootstrap, I may get myself lost in a sea of red herrings as I progress further.👍 Expected behavior
Diligently following the "Getting Started" steps should produce a setup that actually works once you run
yarn dev
!👎 Actual Behavior with Screenshots
I didn't keep track of all the specific messages on the console, but the most notable popup text is included in the description above.
👟 Reproduction steps
Follow the exact steps in "Getting started" as-written on a clean MacOS system (I do not think other OS would have a better outcome based on what I understand about the context of the errors I have described).
📃 Provide the context for the Bug.
This is not my first Backlog install, but the last one I did predates the new backend/frontend work, so I wanted to follow the steps for a from-scratch setup for my new employer. However, my confidence in the correctness of the bootstrap setup is extremely low based on the obvious discrepancies and errors I experience.
I'm sure I'll manage to work myself towards a functioning system by replacing anything that does not seem to work, but I have no idea how a new developer interested in giving this a try is meant to walk away with a positive experience.
🖥️ Your Environment
Clean install from-scratch on MacOS following the exact steps in
Getting started
.👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: