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

TypeError: Illegal invocation (in Chromium) #99

Open
kuraga opened this issue Oct 5, 2018 · 2 comments
Open

TypeError: Illegal invocation (in Chromium) #99

kuraga opened this issue Oct 5, 2018 · 2 comments

Comments

@kuraga
Copy link

kuraga commented Oct 5, 2018

Unzip clone-issue.zip
and:

npm install
./node_modules/.bin/browserify test.js > bundle.js
chromium-browser test.html

Got:

bundle.js:2206 Uncaught TypeError: Illegal invocation

    at _clone (bundle.js:2206)
    at clone (bundle.js:2246)
    at Object.30.clone (bundle.js:3077)
    at o (bundle.js:1)
    at r (bundle.js:1)
    at bundle.js:1
@davidcsally
Copy link

Seeing the same issue

@gadicc
Copy link

gadicc commented Jul 12, 2024

I didn't look at your code (from 2018 `:)) but for anyone else encountering this issue, there's a good chance that your object includes references to some DOM elements, which can't be cloned and will cause this error.

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

3 participants