Skip to content

Attempting to compile puppeteer-extra-stealth-plugin fails (Attempted to assign to readonly property.) #13036

Closed

Description

@preindex

What version of Bun is running?

1.1.17+bb66bba1b

What platform is your computer?

Microsoft Windows NT 10.0.22631.0 x64

What steps can reproduce the bug?

  1. Install using bun install puppeteer puppeteer-extra puppeteer-extra-plugin-stealth
  2. Create a js file that simply requires the module, so const puppeteerstealth = require('puppeteer-extra-plugin-stealth'). It appears requiring puppeteer and/or puppeteer-extra is not required to produce the error.
  3. Compile the module using bun build --compile --target=bun-windows-x64-modern test.js --outfile test
  4. Attempt to run the outputted file (which will error)

What is the expected behavior?

The code should be able to be compiled and run perfectly.

What do you see instead?

bug

Additional information

@Paperdave
tag

Activity

  1. self-assigned this
    on Aug 4, 2024
  2. added
    bundlerSomething to do with the bundler
    and removed on Aug 4, 2024
  3. RiskyMH commented on Feb 6, 2025

    @RiskyMH
    Contributor

    We've invested a ton of time into making Bun more reliable over the last year. I'm having a really hard time reproducing this. If you're still running into this issue, please let me know and I'll re-open this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingbundlerSomething to do with the bundler

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions