Skip to content

[Bug]: Storybook launches "Microsoft Edge" within a Parallels Virtual Machine on start #34631

@niieani

Description

@niieani

Describe the bug

I have Parallels VM installed with a Windows VM.
Parallels creates .app shortcuts inside $HOME/Applications (Parallels)/{67e174d4-57e0-4187-a009-2219421f60ca} Applications.localized/ - this includes Microsoft Edge.app. Opening this app will launch or unsuspend the virtual machine if not started.

There is something wrong with how Storybook chooses which Microsoft Edge.app to launch when starting storybook, because it tries to launch the wrong one, ending up booting the entire virtual machine, and erroring out:

.../node_modules/.bun/storybook@10.3.5+e78db58ab89a47c7/node_modules/storybook/assets/server/openBrowser.applescript:608:626: execution error: Microsoft Edge got an error: every window doesn’t understand the “count” message. (-1708)

Storybooks runs despite the error, but having an entire Windows VM launch every time I try to start storybook is unfortunate. The workaround is to launch with --no-open argument, which is not ideal.

Reproduction link

not relevant

Reproduction steps

No response

System

│  Storybook Environment Info:
│
│  System:
│  OS: macOS 26.4
│  CPU: (10) arm64 Apple M1 Max
│  Shell: 5.9 - /bin/zsh
│  Binaries:
│  Node: 24.7.0 - ~/.proto/shims/node
│  Yarn: 4.12.0 - ~/.proto/shims/yarn
│  npm: 11.13.0 - ~/.proto/shims/npm
│  pnpm: 10.33.2 - ~/.proto/shims/pnpm
│  Browsers:
│  Chrome: 147.0.7727.116
│  Safari: 26.4

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions