AssetMapperTypeScriptBundle icon indicating copy to clipboard operation
AssetMapperTypeScriptBundle copied to clipboard

Segmentation Fault

Open MrDach opened this issue 1 year ago • 1 comments

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

MrDach avatar Aug 28 '24 10:08 MrDach

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.

maelanleborgne avatar Aug 29 '24 15:08 maelanleborgne

Having no news for over a year I'll close this issue, feel free to open a new one if you have any input about the problem you encountered.

maelanleborgne avatar Sep 29 '25 07:09 maelanleborgne