On macOS 10.14 Mojave, impossible to install `newrelic` Node.js module





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







3















Since the upgrade to macOS 10.14 Mojave, it seems that the installation of the newrelic (version 4.11.0) Node.js module fails.



Let's create a project:



$ mkdir test-newrelic
$ cd test-newrelic/
$ npm init
$ npm init --yes


Now, let's install newrelic module:



$ npm install --save newrelic

> @newrelic/native-metrics@3.1.2 install /Users/<user>/Sources/test-newrelic/node_modules/@newrelic/native-metrics
> node ./lib/pre-build.js install native_metrics

> /Users/<user>/.nvm/versions/node/v6.14.4/bin/node /Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean configure
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
> /Users/<user>/.nvm/versions/node/v6.14.4/bin/node /Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build -j 4 native_metrics
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
CXX(target) Release/obj.target/native_metrics/src/native_metrics.o
CXX(target) Release/obj.target/native_metrics/src/GCBinder.o
CXX(target) Release/obj.target/native_metrics/src/LoopChecker.o
CXX(target) Release/obj.target/native_metrics/src/RUsageMeter.o
warningwarning: : warningwarninginclude: include: pathpath forfor stdlibc++stdlibc++includeinclude headerspathheaderspath notfornotfor found;stdlibc++found;stdlibc++ passpassheadersheaders '-std=libc++''-std=libc++'notnot onfound;onfound; thethepass commandcommand'-std=libc++' linelineon totothe useusecommand thetheline libc++libc++to standardstandarduse librarylibrarythe insteadinstead [-Wstdlibcxx-not-found][-Wstdlibcxx-not-found]

pass '-std=libc++' on the libc++command standardline libraryto insteaduse [-Wstdlibcxx-not-found]the
libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from ../src/RUsageMeter.cpp:../src/LoopChecker.cpp../src/GCBinder.cpp2:::2210::
:10 :../src/GCBinder.hpp :fatal error3: :fatal error10: :'cstring' 'algorithm'file fatal errorfilenot: notfound 'map'found
file
not found
#include <cstring>#include <algorithm>
#include <map>

^~~~~~~~~ ^~~~~~~~~~~
^~~~~

In file included from ../src/native_metrics.cpp:2:
In file included from ../../../nan/nan.h:52:
In file included from /Users/<user>/.node-gyp/6.14.4/include/node/node.h:42:
/Users/<user>/.node-gyp/6.14.4/include/node/v8.h:21:10: fatal error: 'utility' file not found
#include <utility>
^~~~~~~~~
1 warning and 1 error generated.
1 warning and 1 error generated.
1 warning and 1 error generated.
1 warning and 1 error generated.
make: *** [Release/obj.target/native_metrics/src/RUsageMeter.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Release/obj.target/native_metrics/src/native_metrics.o] Error 1
make: *** [Release/obj.target/native_metrics/src/LoopChecker.o] Error 1
make: *** [Release/obj.target/native_metrics/src/GCBinder.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
gyp ERR! System Darwin 18.2.0
gyp ERR! command "/Users/<user>/.nvm/versions/node/v6.14.4/bin/node" "/Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "-j" "4" "native_metrics"
gyp ERR! cwd /Users/<user>/Sources/test-newrelic/node_modules/@newrelic/native-metrics
gyp ERR! node -v v6.14.4
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
Error: Failed to execute install: Error: Failed to install module: Error: Failed to execute /Users/<user>/.nvm/versions/node/v6.14.4/bin/node /Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build -j 4 native_metrics: code 1; Error: Failed to download https://download.newrelic.com/nodejs_agent/builds/_newrelic_native_metrics-3_1_2-native_metrics-48-darwin-x64.gz: code 404
test-newrelic@1.0.0 /Users/<user>/Sources/test-newrelic
└─┬ newrelic@4.11.0
├─┬ @newrelic/koa@1.0.7
│ └── methods@1.1.2
├── @newrelic/superagent@1.0.0
├── @tyriar/fibonacci-heap@2.0.8
├─┬ async@2.6.1
│ └── lodash@4.17.11
├─┬ concat-stream@1.6.2
│ ├── buffer-from@1.1.1
│ ├── inherits@2.0.3
│ └── typedarray@0.0.6
├─┬ https-proxy-agent@2.2.1
│ ├─┬ agent-base@4.2.1
│ │ └─┬ es6-promisify@5.0.0
│ │ └── es6-promise@4.2.5
│ └─┬ debug@3.2.6
│ └── ms@2.1.1
├── json-stringify-safe@5.0.1
├─┬ readable-stream@2.3.6
│ ├── core-util-is@1.0.2
│ ├── isarray@1.0.0
│ ├── process-nextick-args@2.0.0
│ ├── safe-buffer@5.1.2
│ ├── string_decoder@1.1.1
│ └── util-deprecate@1.0.2
└── semver@5.6.0

npm WARN test-newrelic@1.0.0 No description
npm WARN test-newrelic@1.0.0 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @newrelic/native-metrics@3.1.2 (node_modules/@newrelic/native-metrics):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @newrelic/native-metrics@3.1.2 install: `node ./lib/pre-build.js install native_metrics`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1


Node-gyp seems unable to find headers.










share|improve this question





























    3















    Since the upgrade to macOS 10.14 Mojave, it seems that the installation of the newrelic (version 4.11.0) Node.js module fails.



    Let's create a project:



    $ mkdir test-newrelic
    $ cd test-newrelic/
    $ npm init
    $ npm init --yes


    Now, let's install newrelic module:



    $ npm install --save newrelic

    > @newrelic/native-metrics@3.1.2 install /Users/<user>/Sources/test-newrelic/node_modules/@newrelic/native-metrics
    > node ./lib/pre-build.js install native_metrics

    > /Users/<user>/.nvm/versions/node/v6.14.4/bin/node /Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean configure
    gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
    gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
    > /Users/<user>/.nvm/versions/node/v6.14.4/bin/node /Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build -j 4 native_metrics
    gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
    CXX(target) Release/obj.target/native_metrics/src/native_metrics.o
    CXX(target) Release/obj.target/native_metrics/src/GCBinder.o
    CXX(target) Release/obj.target/native_metrics/src/LoopChecker.o
    CXX(target) Release/obj.target/native_metrics/src/RUsageMeter.o
    warningwarning: : warningwarninginclude: include: pathpath forfor stdlibc++stdlibc++includeinclude headerspathheaderspath notfornotfor found;stdlibc++found;stdlibc++ passpassheadersheaders '-std=libc++''-std=libc++'notnot onfound;onfound; thethepass commandcommand'-std=libc++' linelineon totothe useusecommand thetheline libc++libc++to standardstandarduse librarylibrarythe insteadinstead [-Wstdlibcxx-not-found][-Wstdlibcxx-not-found]

    pass '-std=libc++' on the libc++command standardline libraryto insteaduse [-Wstdlibcxx-not-found]the
    libc++ standard library instead [-Wstdlibcxx-not-found]
    In file included from ../src/RUsageMeter.cpp:../src/LoopChecker.cpp../src/GCBinder.cpp2:::2210::
    :10 :../src/GCBinder.hpp :fatal error3: :fatal error10: :'cstring' 'algorithm'file fatal errorfilenot: notfound 'map'found
    file
    not found
    #include <cstring>#include <algorithm>
    #include <map>

    ^~~~~~~~~ ^~~~~~~~~~~
    ^~~~~

    In file included from ../src/native_metrics.cpp:2:
    In file included from ../../../nan/nan.h:52:
    In file included from /Users/<user>/.node-gyp/6.14.4/include/node/node.h:42:
    /Users/<user>/.node-gyp/6.14.4/include/node/v8.h:21:10: fatal error: 'utility' file not found
    #include <utility>
    ^~~~~~~~~
    1 warning and 1 error generated.
    1 warning and 1 error generated.
    1 warning and 1 error generated.
    1 warning and 1 error generated.
    make: *** [Release/obj.target/native_metrics/src/RUsageMeter.o] Error 1
    make: *** Waiting for unfinished jobs....
    make: *** [Release/obj.target/native_metrics/src/native_metrics.o] Error 1
    make: *** [Release/obj.target/native_metrics/src/LoopChecker.o] Error 1
    make: *** [Release/obj.target/native_metrics/src/GCBinder.o] Error 1
    gyp ERR! build error
    gyp ERR! stack Error: `make` failed with exit code: 2
    gyp ERR! stack at ChildProcess.onExit (/Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
    gyp ERR! stack at emitTwo (events.js:106:13)
    gyp ERR! stack at ChildProcess.emit (events.js:191:7)
    gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
    gyp ERR! System Darwin 18.2.0
    gyp ERR! command "/Users/<user>/.nvm/versions/node/v6.14.4/bin/node" "/Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "-j" "4" "native_metrics"
    gyp ERR! cwd /Users/<user>/Sources/test-newrelic/node_modules/@newrelic/native-metrics
    gyp ERR! node -v v6.14.4
    gyp ERR! node-gyp -v v3.4.0
    gyp ERR! not ok
    Error: Failed to execute install: Error: Failed to install module: Error: Failed to execute /Users/<user>/.nvm/versions/node/v6.14.4/bin/node /Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build -j 4 native_metrics: code 1; Error: Failed to download https://download.newrelic.com/nodejs_agent/builds/_newrelic_native_metrics-3_1_2-native_metrics-48-darwin-x64.gz: code 404
    test-newrelic@1.0.0 /Users/<user>/Sources/test-newrelic
    └─┬ newrelic@4.11.0
    ├─┬ @newrelic/koa@1.0.7
    │ └── methods@1.1.2
    ├── @newrelic/superagent@1.0.0
    ├── @tyriar/fibonacci-heap@2.0.8
    ├─┬ async@2.6.1
    │ └── lodash@4.17.11
    ├─┬ concat-stream@1.6.2
    │ ├── buffer-from@1.1.1
    │ ├── inherits@2.0.3
    │ └── typedarray@0.0.6
    ├─┬ https-proxy-agent@2.2.1
    │ ├─┬ agent-base@4.2.1
    │ │ └─┬ es6-promisify@5.0.0
    │ │ └── es6-promise@4.2.5
    │ └─┬ debug@3.2.6
    │ └── ms@2.1.1
    ├── json-stringify-safe@5.0.1
    ├─┬ readable-stream@2.3.6
    │ ├── core-util-is@1.0.2
    │ ├── isarray@1.0.0
    │ ├── process-nextick-args@2.0.0
    │ ├── safe-buffer@5.1.2
    │ ├── string_decoder@1.1.1
    │ └── util-deprecate@1.0.2
    └── semver@5.6.0

    npm WARN test-newrelic@1.0.0 No description
    npm WARN test-newrelic@1.0.0 No repository field.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @newrelic/native-metrics@3.1.2 (node_modules/@newrelic/native-metrics):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @newrelic/native-metrics@3.1.2 install: `node ./lib/pre-build.js install native_metrics`
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1


    Node-gyp seems unable to find headers.










    share|improve this question

























      3












      3








      3








      Since the upgrade to macOS 10.14 Mojave, it seems that the installation of the newrelic (version 4.11.0) Node.js module fails.



      Let's create a project:



      $ mkdir test-newrelic
      $ cd test-newrelic/
      $ npm init
      $ npm init --yes


      Now, let's install newrelic module:



      $ npm install --save newrelic

      > @newrelic/native-metrics@3.1.2 install /Users/<user>/Sources/test-newrelic/node_modules/@newrelic/native-metrics
      > node ./lib/pre-build.js install native_metrics

      > /Users/<user>/.nvm/versions/node/v6.14.4/bin/node /Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean configure
      gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
      gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
      > /Users/<user>/.nvm/versions/node/v6.14.4/bin/node /Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build -j 4 native_metrics
      gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
      CXX(target) Release/obj.target/native_metrics/src/native_metrics.o
      CXX(target) Release/obj.target/native_metrics/src/GCBinder.o
      CXX(target) Release/obj.target/native_metrics/src/LoopChecker.o
      CXX(target) Release/obj.target/native_metrics/src/RUsageMeter.o
      warningwarning: : warningwarninginclude: include: pathpath forfor stdlibc++stdlibc++includeinclude headerspathheaderspath notfornotfor found;stdlibc++found;stdlibc++ passpassheadersheaders '-std=libc++''-std=libc++'notnot onfound;onfound; thethepass commandcommand'-std=libc++' linelineon totothe useusecommand thetheline libc++libc++to standardstandarduse librarylibrarythe insteadinstead [-Wstdlibcxx-not-found][-Wstdlibcxx-not-found]

      pass '-std=libc++' on the libc++command standardline libraryto insteaduse [-Wstdlibcxx-not-found]the
      libc++ standard library instead [-Wstdlibcxx-not-found]
      In file included from ../src/RUsageMeter.cpp:../src/LoopChecker.cpp../src/GCBinder.cpp2:::2210::
      :10 :../src/GCBinder.hpp :fatal error3: :fatal error10: :'cstring' 'algorithm'file fatal errorfilenot: notfound 'map'found
      file
      not found
      #include <cstring>#include <algorithm>
      #include <map>

      ^~~~~~~~~ ^~~~~~~~~~~
      ^~~~~

      In file included from ../src/native_metrics.cpp:2:
      In file included from ../../../nan/nan.h:52:
      In file included from /Users/<user>/.node-gyp/6.14.4/include/node/node.h:42:
      /Users/<user>/.node-gyp/6.14.4/include/node/v8.h:21:10: fatal error: 'utility' file not found
      #include <utility>
      ^~~~~~~~~
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      make: *** [Release/obj.target/native_metrics/src/RUsageMeter.o] Error 1
      make: *** Waiting for unfinished jobs....
      make: *** [Release/obj.target/native_metrics/src/native_metrics.o] Error 1
      make: *** [Release/obj.target/native_metrics/src/LoopChecker.o] Error 1
      make: *** [Release/obj.target/native_metrics/src/GCBinder.o] Error 1
      gyp ERR! build error
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack at ChildProcess.onExit (/Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
      gyp ERR! stack at emitTwo (events.js:106:13)
      gyp ERR! stack at ChildProcess.emit (events.js:191:7)
      gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
      gyp ERR! System Darwin 18.2.0
      gyp ERR! command "/Users/<user>/.nvm/versions/node/v6.14.4/bin/node" "/Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "-j" "4" "native_metrics"
      gyp ERR! cwd /Users/<user>/Sources/test-newrelic/node_modules/@newrelic/native-metrics
      gyp ERR! node -v v6.14.4
      gyp ERR! node-gyp -v v3.4.0
      gyp ERR! not ok
      Error: Failed to execute install: Error: Failed to install module: Error: Failed to execute /Users/<user>/.nvm/versions/node/v6.14.4/bin/node /Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build -j 4 native_metrics: code 1; Error: Failed to download https://download.newrelic.com/nodejs_agent/builds/_newrelic_native_metrics-3_1_2-native_metrics-48-darwin-x64.gz: code 404
      test-newrelic@1.0.0 /Users/<user>/Sources/test-newrelic
      └─┬ newrelic@4.11.0
      ├─┬ @newrelic/koa@1.0.7
      │ └── methods@1.1.2
      ├── @newrelic/superagent@1.0.0
      ├── @tyriar/fibonacci-heap@2.0.8
      ├─┬ async@2.6.1
      │ └── lodash@4.17.11
      ├─┬ concat-stream@1.6.2
      │ ├── buffer-from@1.1.1
      │ ├── inherits@2.0.3
      │ └── typedarray@0.0.6
      ├─┬ https-proxy-agent@2.2.1
      │ ├─┬ agent-base@4.2.1
      │ │ └─┬ es6-promisify@5.0.0
      │ │ └── es6-promise@4.2.5
      │ └─┬ debug@3.2.6
      │ └── ms@2.1.1
      ├── json-stringify-safe@5.0.1
      ├─┬ readable-stream@2.3.6
      │ ├── core-util-is@1.0.2
      │ ├── isarray@1.0.0
      │ ├── process-nextick-args@2.0.0
      │ ├── safe-buffer@5.1.2
      │ ├── string_decoder@1.1.1
      │ └── util-deprecate@1.0.2
      └── semver@5.6.0

      npm WARN test-newrelic@1.0.0 No description
      npm WARN test-newrelic@1.0.0 No repository field.
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @newrelic/native-metrics@3.1.2 (node_modules/@newrelic/native-metrics):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @newrelic/native-metrics@3.1.2 install: `node ./lib/pre-build.js install native_metrics`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1


      Node-gyp seems unable to find headers.










      share|improve this question














      Since the upgrade to macOS 10.14 Mojave, it seems that the installation of the newrelic (version 4.11.0) Node.js module fails.



      Let's create a project:



      $ mkdir test-newrelic
      $ cd test-newrelic/
      $ npm init
      $ npm init --yes


      Now, let's install newrelic module:



      $ npm install --save newrelic

      > @newrelic/native-metrics@3.1.2 install /Users/<user>/Sources/test-newrelic/node_modules/@newrelic/native-metrics
      > node ./lib/pre-build.js install native_metrics

      > /Users/<user>/.nvm/versions/node/v6.14.4/bin/node /Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js clean configure
      gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
      gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
      > /Users/<user>/.nvm/versions/node/v6.14.4/bin/node /Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build -j 4 native_metrics
      gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
      CXX(target) Release/obj.target/native_metrics/src/native_metrics.o
      CXX(target) Release/obj.target/native_metrics/src/GCBinder.o
      CXX(target) Release/obj.target/native_metrics/src/LoopChecker.o
      CXX(target) Release/obj.target/native_metrics/src/RUsageMeter.o
      warningwarning: : warningwarninginclude: include: pathpath forfor stdlibc++stdlibc++includeinclude headerspathheaderspath notfornotfor found;stdlibc++found;stdlibc++ passpassheadersheaders '-std=libc++''-std=libc++'notnot onfound;onfound; thethepass commandcommand'-std=libc++' linelineon totothe useusecommand thetheline libc++libc++to standardstandarduse librarylibrarythe insteadinstead [-Wstdlibcxx-not-found][-Wstdlibcxx-not-found]

      pass '-std=libc++' on the libc++command standardline libraryto insteaduse [-Wstdlibcxx-not-found]the
      libc++ standard library instead [-Wstdlibcxx-not-found]
      In file included from ../src/RUsageMeter.cpp:../src/LoopChecker.cpp../src/GCBinder.cpp2:::2210::
      :10 :../src/GCBinder.hpp :fatal error3: :fatal error10: :'cstring' 'algorithm'file fatal errorfilenot: notfound 'map'found
      file
      not found
      #include <cstring>#include <algorithm>
      #include <map>

      ^~~~~~~~~ ^~~~~~~~~~~
      ^~~~~

      In file included from ../src/native_metrics.cpp:2:
      In file included from ../../../nan/nan.h:52:
      In file included from /Users/<user>/.node-gyp/6.14.4/include/node/node.h:42:
      /Users/<user>/.node-gyp/6.14.4/include/node/v8.h:21:10: fatal error: 'utility' file not found
      #include <utility>
      ^~~~~~~~~
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      1 warning and 1 error generated.
      make: *** [Release/obj.target/native_metrics/src/RUsageMeter.o] Error 1
      make: *** Waiting for unfinished jobs....
      make: *** [Release/obj.target/native_metrics/src/native_metrics.o] Error 1
      make: *** [Release/obj.target/native_metrics/src/LoopChecker.o] Error 1
      make: *** [Release/obj.target/native_metrics/src/GCBinder.o] Error 1
      gyp ERR! build error
      gyp ERR! stack Error: `make` failed with exit code: 2
      gyp ERR! stack at ChildProcess.onExit (/Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
      gyp ERR! stack at emitTwo (events.js:106:13)
      gyp ERR! stack at ChildProcess.emit (events.js:191:7)
      gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:219:12)
      gyp ERR! System Darwin 18.2.0
      gyp ERR! command "/Users/<user>/.nvm/versions/node/v6.14.4/bin/node" "/Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "-j" "4" "native_metrics"
      gyp ERR! cwd /Users/<user>/Sources/test-newrelic/node_modules/@newrelic/native-metrics
      gyp ERR! node -v v6.14.4
      gyp ERR! node-gyp -v v3.4.0
      gyp ERR! not ok
      Error: Failed to execute install: Error: Failed to install module: Error: Failed to execute /Users/<user>/.nvm/versions/node/v6.14.4/bin/node /Users/<user>/.nvm/versions/node/v6.14.4/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build -j 4 native_metrics: code 1; Error: Failed to download https://download.newrelic.com/nodejs_agent/builds/_newrelic_native_metrics-3_1_2-native_metrics-48-darwin-x64.gz: code 404
      test-newrelic@1.0.0 /Users/<user>/Sources/test-newrelic
      └─┬ newrelic@4.11.0
      ├─┬ @newrelic/koa@1.0.7
      │ └── methods@1.1.2
      ├── @newrelic/superagent@1.0.0
      ├── @tyriar/fibonacci-heap@2.0.8
      ├─┬ async@2.6.1
      │ └── lodash@4.17.11
      ├─┬ concat-stream@1.6.2
      │ ├── buffer-from@1.1.1
      │ ├── inherits@2.0.3
      │ └── typedarray@0.0.6
      ├─┬ https-proxy-agent@2.2.1
      │ ├─┬ agent-base@4.2.1
      │ │ └─┬ es6-promisify@5.0.0
      │ │ └── es6-promise@4.2.5
      │ └─┬ debug@3.2.6
      │ └── ms@2.1.1
      ├── json-stringify-safe@5.0.1
      ├─┬ readable-stream@2.3.6
      │ ├── core-util-is@1.0.2
      │ ├── isarray@1.0.0
      │ ├── process-nextick-args@2.0.0
      │ ├── safe-buffer@5.1.2
      │ ├── string_decoder@1.1.1
      │ └── util-deprecate@1.0.2
      └── semver@5.6.0

      npm WARN test-newrelic@1.0.0 No description
      npm WARN test-newrelic@1.0.0 No repository field.
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @newrelic/native-metrics@3.1.2 (node_modules/@newrelic/native-metrics):
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: @newrelic/native-metrics@3.1.2 install: `node ./lib/pre-build.js install native_metrics`
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1


      Node-gyp seems unable to find headers.







      node.js newrelic






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 16 '18 at 15:21









      DerekDerek

      1,94521430




      1,94521430
























          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53340704%2fon-macos-10-14-mojave-impossible-to-install-newrelic-node-js-module%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53340704%2fon-macos-10-14-mojave-impossible-to-install-newrelic-node-js-module%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Bressuire

          Vorschmack

          Quarantine