This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
New Relic's native_metrics fails to build after Python 3 upgrade #6195
Labels
status: needs triage
Status: Untriaged
Summary
New Relic's
native_metrics
package fails to build.This is because our version of Node (10.16.3) ships a version of
node-gyp
which only works with Python 2. Updating to Node 10.17.0 (Changelog) gets us a better error message, but still fails.Version 6.x of
node-gyp
supports Python 3, but the most recentnpm
release still depends onnode-gyp
5.x. (npm/cli#287). It's possible to update npm's bundled node-gyp, and users generally seem happy with that workaround (nodejs/node-gyp#1917). However, I still see quite a few warningsSteps To Reproduce (STR)
make build-base VERSION=latest
Actual behavior
Node 10.16.3:
Full logs
Node 10.17.0
Full logs
Node 10.17.0 w/ node-gyp 6.0.1
Full logs
Expected behavior
Additional context
According to discussion in newrelic/node-native-metrics#62, the
install successful: _newrelic_native_metrics-4_1_0-native_metrics-64-linux-x64
message indicates a successful fallback to a prebuilt binary supplied by New Relic. So maybe we don't need to worry about this for now?The text was updated successfully, but these errors were encountered: