Skip to content

Random "Unexpected token ILLEGAL" error #43

Open
@chrisjaure

Description

@chrisjaure

I'm having some trouble pinpointing the exact cause of this error, but I've got 4 bundles and only the one with readFileSync calls fails randomly with this error. In that bundle, there are 7 readFileSync calls in succession. I added some logging and it seems that when this error triggers, the source is mangled and the readFileSync calls are resolved out of order. It only happens once out of 20 or so times.

I'd be happy to debug further, but I'm not sure where to look next or what information you might need.

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