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

File /Users/$USERNAME/.node-gyp/0.10.15/common.gypi not found #313

Closed
i11v opened this issue Aug 23, 2013 · 8 comments
Closed

File /Users/$USERNAME/.node-gyp/0.10.15/common.gypi not found #313

i11v opened this issue Aug 23, 2013 · 8 comments

Comments

@i11v
Copy link

i11v commented Aug 23, 2013

In node-gyp 0.10.15 version there is not common.gypi file. I copied it from ~/.node-gyp/0.10.11/ to resolve this issue.

@TooTallNate
Copy link
Contributor

Something probably got borked during the node-gyp install process. What you did probably is fine but you could also have just deleted the ~/.node-gyp/0.10.15/ dir and node-gyp would try to re-install it.

@diosney
Copy link

diosney commented Jan 3, 2014

The same happened to me but instead with node 0.10.24 and that @TooTallNate suggests doesn't worked for me, but it did what xomyaq tells.

@zh99998
Copy link

zh99998 commented Feb 3, 2014

same problem.
my version is 0.10.25 and don't know how to get a older version.
delete ~/.node-gyp/0.10.25/ doesn't work.

@fulup-bzh
Copy link

Also fail on a clean new install of OpenSuse-13.2. While a hard copy of /usr/share/node/common.gypi from an older installation worked for me, it looks like something is wrong within installer.

On a clean install with standard nodejs in place. Install command does not generate an error, but does not install /usr/share/node/common.gypi

sudo npm install -g node-gyp

OpenSuse-13.2/64bits
Nodejs: v0.10.31

@audaki
Copy link

audaki commented Aug 14, 2015

@fulup-bzh
zypper in nodejs-devel fixed this for me, this package contains the missing file.

@pradhanshrijal
Copy link

same problem for me while installing i2c

gyperror

@harlantwood
Copy link

harlantwood commented Sep 23, 2016

I was getting similar errors; in my case upgrading from node 5.11.x to 5.12 along with

rm -rf ~/.node_gyp ./node_modules

fixed it.

@pradhanshrijal
Copy link

It ok, I installed Debian Jesse instead of Debian Wheezy in which the problem occurred and it was resolved

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

8 participants