Open anton-yurchenko opened 5 years ago
Setting environmental variable:
export NODE_DTRACE_PROVIDER_REQUIRE="hard"
does not solves the issue
I suspect that's because bunyan
has dtrace-provider
listed an an optionalDependency
, so the exit code of node-gyp rebuild || node suppress-error.js
is always ignored by npm.
This is still an issue. I get this error, too.
Same
Hey, The errors are suppressed, so in case there is a missing dependency for the installation, npm install dtrace-provider exits with code 0 and allows to continue. If used in CI pipe, it might create broken artifacts if not tested properly.
Here is an installation log on docker image node:10-alpine:
Following suppress-error.js and setting environmental variable:
export NODE_DTRACE_PROVIDER_REQUIRE="hard"
does not solves the issue