Skip to content

Working fine locally but throwing a TypeError when deployed to production. #47

@benslv

Description

@benslv

I was using this package to offload some CPU intensive calculations and stop browsers from saying the tab had crashed, and it was all working absolutely fine when hosting the site locally on my machine.

However, upon publishing the site to production (hosted on GitHub Pages using gh-pages), the web-worker no longer runs, and instead throws this error:

image

I have no idea where to start on debugging this. I would've assumed that, because it worked perfectly locally, it would also work perfectly when published live.

Any thoughts? I can provide more info if you know what would be helpful.

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