Skip to content

[bug] TypeError: Failed to construct 'URL': Invalid URLΒ #2802

@kaiovictor22

Description

@kaiovictor22

Bug Description

Steps to Reproduce

Expected Behavior

Actual Behavior

Error Details

  • Error Name: TypeError
  • Error Message: Failed to construct 'URL': Invalid URL
TypeError: Invalid URL
    at yOt (file:///C:/Users/USER/AppData/Local/dyad/app-0.37.0/resources/app.asar/.vite/renderer/main_window/assets/index-DTnvZFKq.js:1417:7221)
    at bO (file:///C:/Users/USER/AppData/Local/dyad/app-0.37.0/resources/app.asar/.vite/renderer/main_window/assets/index-DTnvZFKq.js:56:48118)
    at RR (file:///C:/Users/USER/AppData/Local/dyad/app-0.37.0/resources/app.asar/.vite/renderer/main_window/assets/index-DTnvZFKq.js:56:71024)
    at pre (file:///C:/Users/USER/AppData/Local/dyad/app-0.37.0/resources/app.asar/.vite/renderer/main_window/assets/index-DTnvZFKq.js:56:81349)
    at Fre (file:///C:/Users/USER/AppData/Local/dyad/app-0.37.0/resources/app.asar/.vite/renderer/main_window/assets/index-DTnvZFKq.js:56:117120)
    at Cke (file:///C:/Users/USER/AppData/Local/dyad/app-0.37.0/resources/app.asar/.vite/renderer/main_window/assets/index-DTnvZFKq.js:56:116152)
    at XT (file:///C:/Users/USER/AppData/Local/dyad/app-0.37.0/resources/app.asar/.vite/renderer/main_wind

System Information

  • Dyad Version: 0.37.0
  • Platform: win32
  • Architecture: x64
  • Node Version: v22.14.0
  • PNPM Version: 10.28.2
  • Node Path: C:\Program Files\nodejs\node.exe
  • Telemetry ID: 5b2e5114-9dcb-44e2-863b-47fb62c864a4

Logs

β”‚   Run "pnpm approve-builds" to pick which dependencies should be allowed     β”‚
β”‚   to run scripts.                                                            β”‚
β”‚                                                                              β”‚
╰──────────────────────────────────────────────────────────────────────────────╯


> vite_react_shadcn_ts@0.0.0 dev C:\Users\USER\dyad-apps\fluffy-hummingbird-glow
> vite "--port" "32103"


  VITE v6.3.4  ready in 227 ms


  ➜  Network: http://192.168.100.102:32103/

[2026-02-25 19:14:41.565] [error] (app_handlers) App 3 (PID: 5492) stderr: Browserslist: browsers data (caniuse-lite) is 10 months old. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme


Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingissue/incompleteissues which don't have all the fields filled in

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions