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

Variables Tab crashes when bolt.new has Netlify Integration enabled #1651

Open
1 task done
nickytonline opened this issue Dec 4, 2024 · 1 comment
Open
1 task done

Comments

@nickytonline
Copy link

nickytonline commented Dec 4, 2024

Describe the bug

Description

When attempting to access environment variables after connecting Netlify to bolt.new, the Variables tab of a Stackblitz user's settings throws a "cannot read properties of null" error causing the variables page to crash.

Link to the blitz that caused the error

https://stackblitz.com/~/github.com/nickytonline/nickyt.online?file=astro.config.mjs&view=editor

Steps to reproduce

  1. Load a project in StackBlitz that requires environment variables

  2. Navigate to bolt.new settings

  3. Connect and authorize Netlify integration

    CleanShot 2024-12-04 at 14 07 27

  4. Attempt to access environment variables, https://stackblitz.com/settings/variables

  5. Page crashes

Expected behavior

  1. Load a project in StackBlitz that requires environment variables
  2. Navigate to bolt.new settings
  3. Connect and authorize Netlify integration
  4. Access environment variables, https://stackblitz.com/settings/variables
  5. Page variables page loads

Parity with Local

Screenshots

stackblitz.mp4

Platform

Version = 1.84.0
Hash = 3b0b7194bc6b567c2eaf4c96a5759098469dcf59
WebContainer = fc837ba8

Browser name  = Chrome
Full version  = 131.0.0.0
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
performance.memory = {
  "totalJSHeapSize": 108085580,
  "usedJSHeapSize": 104588028,
  "jsHeapSizeLimit": 4294705152
}

Additional context

https://bsky.app/profile/nickyt.online/post/3lcisbxscrc2l

@nickytonline
Copy link
Author

Maybe this is an issue that belongs in https://github.com/stackblitz/bolt.new, I'm not sure. It's either bolt.new didn't set all the proper information when an app gets connected in bolt, or the variables page in Stackblitz needs to be adjusted to handle connected apps, or maybe connected apps shouldn't even be getting loaded in the Variables page on Stackblitz. 🤔

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

1 participant