Skip to content

Build fails with npmInstall contextify@0.1.15 #230

@mockitoguy

Description

@mockitoguy

I'm getting below failure on my Mac on clean checkout:

> Task :parseq-tracevis:npmInstall

> contextify@0.1.15 install /Users/sfaber/linkedin/oncall/foo/parseq_trunk/parseq/subprojects/parseq-tracevis/node_modules/contextify
> node-gyp rebuild

  CXX(target) Release/obj.target/contextify/src/contextify.o
warning: include path for stdlibc++ headers not found; pass '-stdlib=libc++' on the command line to use the libc++ standard library instead [-Wstdlibcxx-not-found]
In file included from ../src/contextify.cc:1:
In file included from /Users/sfaber/.node-gyp/6.11.2/include/node/node.h:42:
/Users/sfaber/.node-gyp/6.11.2/include/node/v8.h:21:10: fatal error: 'utility' file not found
#include <utility>
         ^~~~~~~~~
1 warning and 1 error generated.
make: *** [Release/obj.target/contextify/src/contextify.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/Users/sfaber/linkedin/oncall/foo/parseq_trunk/parseq/subprojects/parseq-tracevis/build/npm/npm-v3.10.10/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:215:12)
gyp ERR! System Darwin 18.7.0
gyp ERR! command "/Users/sfaber/linkedin/oncall/foo/parseq_trunk/parseq/subprojects/parseq-tracevis/build/nodejs/node-v6.11.2-darwin-x64/bin/node" "/Users/sfaber/linkedin/oncall/foo/parseq_trunk/parseq/subprojects/parseq-tracevis/build/npm/npm-v3.10.10/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/sfaber/linkedin/oncall/foo/parseq_trunk/parseq/subprojects/parseq-tracevis/node_modules/contextify
gyp ERR! node -v v6.11.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok 
npm WARN parseq-tracevis@ No repository field.
npm WARN parseq-tracevis@ No license field.
npm ERR! Darwin 18.7.0
npm ERR! argv "/Users/sfaber/linkedin/oncall/foo/parseq_trunk/parseq/subprojects/parseq-tracevis/build/nodejs/node-v6.11.2-darwin-x64/bin/node" "/Users/sfaber/linkedin/oncall/foo/parseq_trunk/parseq/subprojects/parseq-tracevis/build/npm/npm-v3.10.10/bin/npm" "install"
npm ERR! node v6.11.2
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! contextify@0.1.15 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the contextify@0.1.15 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the contextify package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs contextify
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls contextify
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/sfaber/linkedin/oncall/foo/parseq_trunk/parseq/subprojects/parseq-tracevis/npm-debug.log

> Task :parseq-tracevis:npmInstall FAILED

I resolved the issue by bumping "d3": "3.3.5" -> "d3": "3.5.17". The new package no longer brings contextify dependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions