-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Alpine linux support still not fully working #1868
Comments
Yarn has plenty of issues with native extensions that are out of our hands. Does it work with npm? |
Suggests that the install was done on linux, not alpine. Did you install locally and mount into to docker? If so you'll need to rebuild the binary with |
@xzyfer no I didn't install locally, as part of Dockerfile build. You can see the base image here: |
Please try using npm to rule out yarn as the cause. |
@xzyfer yeah, it looks like installing node-sass globally using npm helps:
Thanks a lot! |
FWIW you should never install node-sass globally. It's likely to run into permission issues because it's a native extension. |
It's worth opening an issue with yarn if you get more detailed information on what exactly was the issue. |
FTR I had a similar issue:
I fixed it bumping Alpine from 3.2 to 3.5. |
I also experienced this issue using
When I install |
I did some further testing and it is definitely a |
Please open an issue with yarn. |
Absolutely. I wanted to make a note of it here in case other people found this issue via Google like I did. |
I wonder how this could be a yarn issue, that looks like a musl incompatibility to me |
I upgraded to the latest version as introduced Alpine linux support in #1589.
Building Alpine linux docker container and running yarn install command passes.
But getting full log of such errors on web app loading for the first time:
After installing the following packages and running yarn again the app work without errors:
apk add --no-cache python=2.7.12-r0 make gcc g++
What am I doing wrong?
npm -v
): 3.10.10node -v
): v6.9.4node -p process.versions
):node -p process.platform
): linuxnode -p process.arch
): x64node -p "require('node-sass').info"
):npm ls node-sass
): [email protected]The text was updated successfully, but these errors were encountered: