Skip to content

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

@nickytonline

Description

@nickytonline

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions