Skip to content
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

Added a retry function to get past the error... #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

turbolego
Copy link

@turbolego turbolego commented Sep 6, 2024

EDIT: I fixed the panic: open site\auth\api.js: file does not exist -error too, PR updated.

Terminal output:

PS C:\Users\Tobias Andersen\IdeaProjects\authsite> ./authsite musikkunderstjernene.online
✓ Domain 'musikkunderstjernene.online' is properly pointing to GitHub Pages.
✓ Logged into Auth0 with tenant 'musikkunderstjernene' to be configured.
✓ Logged into GitHub as 'turbolego'.

Register a GitHub OAuth application to be used for login on your site:
https://github.com/settings/applications/new

✓ Auth0 tenant 'musikkunderstjernene' has been configured.
Reading file: site/auth/api.js and auth module...
Reading file: site/auth/auth0-9.23.3.min.jsule...
Reading file: site/auth/auth0-spa-2.0.min.jsle...
Reading file: site/auth/index.html auth module...
Reading file: site/index.htmlx and auth module...
✓ GitHub repository 'musikkunderstjernene.online' has been configured for GitHub Pages.

GitHub repository: https://github.com/turbolego/musikkunderstjernene.online
Auth0 dashboard: https://manage.auth0.com/dashboard/us/musikkunderstjernene/

Site deployed: https://musikkunderstjernene.online

🎉 Congrats! Your site is set up and live!

Error: 'update binding:404 Not Found: Tenant does not exist.' but now have a new error 'panic: open site\auth\api.js: file does not exist'

Related issue: #1

Terminal output:

✓ Domain 'musikkunderstjernene.online' is properly pointing to GitHub Pages.
✓ Logged into Auth0 with tenant 'musikkunderstjernene' to be configured.
✓ Logged into GitHub as 'turbolego'.
✓ Auth0 tenant 'musikkunderstjernene' has been configured.
panic: open site\auth\api.js: file does not exist
goroutine 1157 [running]:
main.main.func22()
C:/Users/Tobias Andersen/IdeaProjects/authsite/main.go:648 +0x72e
github.com/charmbracelet/huh/spinner.(*Spinner).Run.func1()
C:/Users/Tobias Andersen/go/pkg/mod/github.com/charmbracelet/huh/[email protected]/spinner.go:148 +0x28
created by github.com/charmbracelet/huh/spinner.(*Spinner).Run in goroutine 1
C:/Users/Tobias Andersen/go/pkg/mod/github.com/charmbracelet/huh/[email protected]/spinner.go:147 +0xfe

The file site/auth/api.js is not missing:
Screenshot_795

…Found: Tenant does not exist.' but now have a new error 'panic: open site\auth\api.js: file does not exist'
…o fix the error 'panic: open site\auth\api.js: file does not exist'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant