Open lxe opened 6 years ago
open an issue on farmhash.
farmhash @ latest supports node10 but it probably does not support node0.10.32 ; we may need conditional dependencies based on node versions.
since tchannel is in maintenance mode ; it makes sense to have a branch with node10.0 support and published as a seperate version number; maybe 3.9.12-node10-support
Edit: My mistake, #356 does not fix this.
Node 0.10.0 works as long as a couple of flags are defined with the right values. The error with farmhash stems from the Mac version, and a lack of the utility
class for farmhash's header file.
Use flags with npm rebuild (replace rebuild
with install
if desired):
CXXFLAGS="-mmacosx-version-min=10.9" LDFLAGS="-mmacosx-version-min=10.9" npm rebuild
To be clear, this fixes Node 0.10.0, which is not the same as Node 10. Node 10's fix is in #356.
tchannel-node fails to build on Node 10 Stable due to farmhash 1.1.0 dependency