Closed ajbogh closed 5 years ago
Have you also tested with Node.js 0.10?
@kriskowal 0.10.0 still produces the farmhash error reported in #355. There are no new errors beyond that, or at least the existing exception prevents new errors from displaying.
@kriskowal, I tested with Node 0.10.0 and it works as long as a couple of flags are defined with the right values. The error from #355 stems from the Mac version, and a lack of the utility
class for farmhash's header file.
Using flags with npm rebuild (replace rebuild
with install
if desired):
CXXFLAGS="-mmacosx-version-min=10.9" LDFLAGS="-mmacosx-version-min=10.9" npm rebuild
Farmhash has updated their code to v2.1.0 and set the minimum Node version to >4.5.0, so the error from #355 wouldn't be valid with newer dependency versions. Perhaps it would be better to upgrade dependencies rather than fixing bugs for extremely outdated and non-supported versions of Node.
Tested
npm install
as well asnpm rebuild
with Node 10.15.3.