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

Project is not visible in preview and browser. #5725

Open
1 task done
ziemniewiczm opened this issue Jan 26, 2025 · 1 comment
Open
1 task done

Project is not visible in preview and browser. #5725

ziemniewiczm opened this issue Jan 26, 2025 · 1 comment

Comments

@ziemniewiczm
Copy link

Describe the bug

no errors are shown in chat or console, when I download the code and run it locally on my computer it works and doesn't show any errors, but I can't continue to work over this project in Bolt.new because no preview works for me. In a preview section next to chat I see only white empty page and if I choose to open new browser tab with the project or go to full screen mode I also see only white empty page.

Link to the Bolt URL that caused the error

https://bolt.new/~/sb1-mpievg4h

Validations

  • Please make your project public or accessible by URL. This will allow anyone trying to help you to easily reproduce the issue and provide assistance.

Steps to reproduce

  1. open editor and that's it, no errors, but also only empty page is displayed.

Expected behavior

App should display Home page - it does on a local machine

Screen Recording / Screenshot

Image

Image

Platform

Browser name = Chrome
Full version = 131.0.0.0
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 65622729,
  "usedJSHeapSize": 61611965,
  "jsHeapSizeLimit": 4294705152
}
Username = teos
Chat ID = e6822e2352b4
Client version = 4b345df
Server version = 4b345df

Additional context

No response

@codewithtyler
Copy link
Contributor

Hi @ziemniewiczm thanks for the response. This one is hard for me to reproduce. Upon loading up your app in Bolt I was unable to do anything as I don't have your .env file. I was able to get around this by saying this:

I am just trying to load the site can we make it so that we can at least load the site even if the supabase url isn't available. I get not being able to login and load data if it's not visible but I should be able to load the page right?

I then got an error that said "useAuth must be used within an AuthProvider" it was an error in the AuthContext.tsx file. I was able to fix it with this prompt:

AuthContent is throwing an error that useAuth must be used within an AuthProvider

That fixed the error and I was able to load your app in the Bolt preview on the right.

Image

That said I'm not sure if it solves your issue but it should be a starting point for you and you'll need to do more testing to make sure that doesn't break anything.

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

No branches or pull requests

2 participants