Skip to content

Segmentation Fault #48

@MrDach

Description

@MrDach

I was getting a Segmentation fault trying to run SWC after following the installation https://symfony.com/bundles/AssetMapperTypeScriptBundle/current/index.html

Turns out that I needed a different SWC binary due to the fact that I was using an Alpine docker container for my project.
After using NPM to install SWC including their @swc/core-linux-musl package and changing my config to use that binary instead it worked.

Oh and another note: Your documentation says that I should add "binary" to my config file. This apparently has to be swc_binary instead.
image

image

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