Hello,
I'm trying to run node-sass on Android. npm install seems to work fine but when I run ./node_modules/.bin/node-sass, it crashes with a segfault:
WARNING: linker: /data/data/com.termux/files/home/go/src/github.com/mattermost/platform/webapp/node_modules/node-sass/vendor/android-arm-48/binding.node has text relocations. This is wasting memory and prevents security hardening. Please fix.
Segmentation fault
npm -v): 3.10.10node -v): v6.10.1node -p process.versions):{ http_parser: '2.7.0',
node: '6.10.1',
v8: '5.1.281.95',
uv: '1.11.0',
zlib: '1.2.8',
ares: '1.12.0',
modules: '48',
openssl: '1.0.2k' }
node -p process.platform): androidnode -p process.arch): armnode -p "require('node-sass').info"): It crashes.npm ls node-sass): [email protected] (I can also reproduce on master.)Android isn't a supported platform
Maybe you could make that more explicit by adding an os key in package.json then?
@Rudloff I managed to build node-sass on my android/termux. See http://blog.akehir.com/2017/05/building-node-sass-libsass-python.html for how to do it on your end.
At the moment I'm investigating, if it's possible to build the binary automatically for android and providing it to node-sass (see sass/node-sass#1960)
Most helpful comment
@Rudloff I managed to build node-sass on my android/termux. See http://blog.akehir.com/2017/05/building-node-sass-libsass-python.html for how to do it on your end.
At the moment I'm investigating, if it's possible to build the binary automatically for android and providing it to node-sass (see sass/node-sass#1960)