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

Segmentation Fault #48

Open
MrDach opened this issue Aug 28, 2024 · 1 comment
Open

Segmentation Fault #48

MrDach opened this issue Aug 28, 2024 · 1 comment

Comments

@MrDach
Copy link

MrDach commented Aug 28, 2024

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

@maelanleborgne
Copy link
Contributor

Hi, thanks for reporting this issue. Could you tell me what version of alpine you're running so I can see what went wrong in the binary version resolution ?

And nice catch for the documentation error, I'll make the change ASAP.

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

2 participants