-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 rebuild error #94
Comments
From your prompt it looks like you're running the command in |
^ That |
So, I tried to use that : And got this error. |
@ashalaenko Can you output the entire log including the command? |
I am getting the same issue, is there a solution?
|
I'm experiencing this issue too. What was the resolution? |
Everyone, |
Thanks @TooTallNate. I agree. Just to reiterate, if you are getting this error you need to go to the node module folder (for me this was happening with node-sqlserver, located at |
hello guys, I'm having a problem trying to running node-sqlserver on my windows 7 machine... So what i've done so far is to download everything in one "test" folder, when try to execute the node-gyp configure im gettin this: C:\Users\jonathan.barquero\Documents\node.js source\test>node-gyp configure I know im getting the "gyp: binding.gyp not found (cwd: C:\Users\jonathan.barquero\Documents\node.js so in within the folder node_modules i have the two github projects (node-gyp & node-sqlserver) I already tryed to go to the node module folder as @gavreh mentioned but it didnt worked i got the same result, so im afraid im still not getting how to solve this, could any of you guys help me a bit Thanks! |
I'm currently getting the same problem. |
one of about 7 issues i've been having installing node-gyp |
Try running the following commands and then run npm install, this will take the node's default node-gyp module. (No need to have multiple as node package already provides that) Updating the node & NPM sudo npm cache clean -f Removing additional Node-gyp module sudo npm uninstall node-gyp -g |
Your solution does not work, this is still broken. |
Go to the folder with binding.gyp of your module and run "node-gyp configure" from it. |
binding.gyp does not exist...
|
After hours of struggling with this issue. All I did was msvs_version=2015 Ofcourse having Visual C++ installed together with Visual Studio (I used community edition, it had both) |
Having the same problem with @seatownrocks, but on Ubuntu 16.04 LTS.
|
+1 for mac |
Update, looks like @krylatij was on point. You have to run configure in a folder where binding.gyp is, or you will get this error. Problem solved once I found the right folder. |
i have not found such file on my computer. note: i had to change recently to python3 and only today i am installing python2 alongside (just because gyp does not support ver 3) |
@ctzurcanu what are you trying to use For example, you could clone npm install -g node-gyp # This should put node-gyp in the path if it's not already
git clone https://github.com/nodejs/node-report.git
cd node-report
node-gyp configure |
@gibfahn thank you. I wanted to build https://github.com/wekan/wekan and i see no binding.gyp in the source while in node-report is clearly present in the root.. |
@ctzurcanu I don't think But basically if you just want to use modules, |
Also that module has a pretty detailed Wiki page, if you want to install I recommend reading the docs for the module. |
@gibfahn thank you. It is exactly because following that Wiki page that I got in this trouble. They said on it to install gyp before |
same here on Ubuntu |
@M-Abozaid (and anyone else planning to comment) can you please raise an issue on https://github.com/nodejs/help ? Your issue is almost certainly not a Feel free to include a link to this issue and to cc/ me in the issue. |
I am trying to install node-opus and keep getting node-gyp related errors to the binding.gyp EDIT: It might be an issue with the node-opus package, just installed opusscript instead without any problems. |
@jndachenhaus depending on which platform you are working on (Windows/linux/mac) there are some steps you need to take in order for |
OK, I found the same error, because I only install visual studio 2017 and the node-gyp currently didn't support visual studio 2017, I changed the MSVSVersion.py script(under C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\gyp\pylib\gyp), In the MSVSVersion.py, you need add code 3 position: 1、In function _CreateVersion, you can add vs2017 like this: 2、In _DetectVisualStudioVersions function, add one line: 3、In SelectVisualStudioVersion function, add one line: this works for me, only installed visual studio 2017. |
sudo npm i |
On my end, I had to do this to force a rebuild manually: cd node_modules/fibers
npm install Then I could use my project as usual. |
same here ubuntu. damn hate this issue |
This worked for me. Thanks! |
@feixuwu This worked for me. Thanks! In Windows , install canvas will error, so I installed GTK , it worked. |
This is mostly to make Fedora's .rpm builder happy. But it won't hurt now that Python 2 is unsupported in gyp-next.
The text was updated successfully, but these errors were encountered: