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

.node-gyp 0.10.24 common.gypi not found #376

Closed
ankitpatial opened this issue Dec 31, 2013 · 2 comments
Closed

.node-gyp 0.10.24 common.gypi not found #376

ankitpatial opened this issue Dec 31, 2013 · 2 comments

Comments

@ankitpatial
Copy link

Hi i am getting following error on installing freshbook module

$ npm install freshbooks
npm http GET https://registry.npmjs.org/freshbooks/0.2.1
npm http 304 https://registry.npmjs.org/freshbooks/0.2.1
npm http GET https://registry.npmjs.org/libxmljs/0.8.1
npm http 304 https://registry.npmjs.org/libxmljs/0.8.1
npm http GET https://registry.npmjs.org/bindings/1.0.0
^[OAnpm http 304 https://registry.npmjs.org/bindings/1.0.0

libxmljs@0.8.1 install /Users/ankitpatial/Documents/projects/app/node_modules/freshbooks/node_modules/libxmljs
node-gyp rebuild

gyp: /Users/ankitpatial/.node-gyp/0.10.24/common.gypi not found (cwd: /Users/ankitpatial/Documents/projects/app/node_modules/freshbooks/node_modules/libxmljs) while reading includes of 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/npm/node_modules/node-gyp/lib/configure.js:337:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:789:12)
gyp ERR! System Darwin 13.0.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/ankitpatial/Documents/projects/app/node_modules/freshbooks/node_modules/libxmljs
gyp ERR! node -v v0.10.24
gyp ERR! node-gyp -v v0.12.1
gyp ERR! not ok
npm ERR! libxmljs@0.8.1 install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the libxmljs@0.8.1 install script.
npm ERR! This is most likely a problem with the libxmljs 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 their info via:
npm ERR! npm owner ls libxmljs
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.0.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "freshbooks"
npm ERR! cwd /Users/ankitpatial/Documents/projects/app
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.22
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/ankitpatial/Documents/projects/app/npm-debug.log
npm ERR! not ok code 0

@ankitpatial
Copy link
Author

there is no file common.gypi in dir /Users/ankitpatial/.node-gyp. But dir /Users/ankitpatial/.node-gyp/0.10.21 and others has it.

@ankitpatial
Copy link
Author

Not a issue with package, i removed old dir ~/.node_gyp and ran npm install, and all went well.

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

1 participant