You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project that depends on sass (loader, with Webpack, etc). When I run npm install on this project in Android (inside Termux which provides a Debian-based Linux environment including apt-get, etc) I get a node-gyp build error like this:
/data/data/com.termux/files/usr/bin/ld: Release/obj.target/src/sass.a(base64vlq.o): relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZN4Sass9Base64VLQ10CHARACTERSE' which may bind externally can not be used when making a shared object; recompile with -fPIC
Release/obj.target/src/sass.a(base64vlq.o): In function `Sass::Base64VLQ::base64_encode(int) const':
../src/libsass/src/base64vlq.cpp:(.text+0x9c): dangerous relocation: unsupported relocation
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [binding.target.mk:142: Release/obj.target/binding.node] Error 1
make: Leaving directory '/data/data/com.termux/files/home/src/watsonactivations-experiencefrontend/node_modules/node-sass/build'
gyp ERR! build error
I see it mentions to use a -fPIC option. How may I do that?
The text was updated successfully, but these errors were encountered:
I have a project that depends on sass (loader, with Webpack, etc). When I run npm install on this project in Android (inside Termux which provides a Debian-based Linux environment including apt-get, etc) I get a node-gyp build error like this:
I see it mentions to use a
-fPIC
option. How may I do that?The text was updated successfully, but these errors were encountered: