Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dtrace-provider fails to install on OSX Yosemite #53

Closed
howarddierking opened this issue Oct 23, 2014 · 4 comments
Closed

dtrace-provider fails to install on OSX Yosemite #53

howarddierking opened this issue Oct 23, 2014 · 4 comments

Comments

@howarddierking
Copy link

Noticed a dtrace error when installing the bunyan logging framework. Tried installing in its own package and got the following:

➜  dtrace-test  npm install dtrace-provider --save
npm WARN package.json dtrace-test@1.0.0 No description
npm WARN package.json dtrace-test@1.0.0 No repository field.
npm WARN package.json dtrace-test@1.0.0 No README data
\
> dtrace-provider@0.3.0 install /Users/howardd/Dev/scratch/dtrace-test/node_modules/dtrace-provider
> scripts/install.js


events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:1001:11)
    at Process.ChildProcess._handle.onexit (child_process.js:792:34)
npm ERR! dtrace-provider@0.3.0 install: `scripts/install.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the dtrace-provider@0.3.0 install script.
npm ERR! This is most likely a problem with the dtrace-provider package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     scripts/install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls dtrace-provider
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 14.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "dtrace-provider" "--save"
npm ERR! cwd /Users/howardd/Dev/scratch/dtrace-test
npm ERR! node -v v0.10.32
npm ERR! npm -v 1.4.24
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/howardd/Dev/scratch/dtrace-test/npm-debug.log
npm ERR! not ok code 0

Going to try and rebuild with node-gyp and see if that fixes, but wanted to raise the issue here as well.

@howarddierking
Copy link
Author

running node-gyp produces the following:

➜  node-dtrace-provider git:(master) node-gyp configure
gyp info it worked if it ends with ok
gyp info using node-gyp@1.0.2
gyp info using node@0.10.32 | darwin | x64
gyp info spawn python
gyp info spawn args [ '/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/howardd/Dev/scratch/node-dtrace-provider/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/usr/local/lib/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/Users/howardd/.node-gyp/0.10.32/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/Users/howardd/.node-gyp/0.10.32',
gyp info spawn args   '-Dmodule_root_dir=/Users/howardd/Dev/scratch/node-dtrace-provider',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.' ]
gyp: binding.gyp not found (cwd: /Users/howardd/Dev/scratch/node-dtrace-provider) while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:343:16)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:810:12)
gyp ERR! System Darwin 14.0.0
gyp ERR! command "node" "/usr/local/bin/node-gyp" "configure"
gyp ERR! cwd /Users/howardd/Dev/scratch/node-dtrace-provider
gyp ERR! node -v v0.10.32
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok

@tjfontaine
Copy link
Collaborator

Are you installing via homebrew?

@howarddierking
Copy link
Author

yes

tjfontaine added a commit to tjfontaine/node-dtrace-provider that referenced this issue Oct 25, 2014
@tjfontaine
Copy link
Collaborator

Fixed in 0.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants