-
Notifications
You must be signed in to change notification settings - Fork 84
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
Failed at the [email protected] install script 'node-gyp rebuild' #49
Comments
I am facing same issue. Any progress on this? |
Sorry guys. Just changed jobs not too long ago and haven't had much time to keep up with this. As for this error, I can't really say since I don't have a Windows computer to test the compilation with. Do you have OpenSSL installed to |
Getting the same issue on Linux Docker |
That OpenSSL-Win64 path comes from the 28th line of the binding.,gyp. That sucks, and makes this (and everything depending on this) unusable on Windows. Edit: ah, sorry about being snarky, now I see where that path is coming from. A notice in the Readme would be appreciated, though. For anyone looking for a solution, see: https://stackoverflow.com/a/39270114/477453 |
Am getting the same on CentOS 7.3
gyp ERR! clean error npm ERR! A complete log of this run can be found in: |
@Botffy no problem (re: snark). Mind opening a PR to modify the README since you have a Windows machine and know the steps that you had to take to get it working? @bertrandszoghy your problem is a permission issue on your CentOS system. Check the output that you sent and you can see @oreporan you can't be having this same Windows issue on a Linux container. What is the actual issue that you're running into? @kalpeshshirodker do you have OpenSSL installed to |
Thanks,
As per
https://stackoverflow.com/questions/45193218/npm-fails-installing-fabric-ca-client/45198100#45198100
I can workaround by installing the npm package dependent on x509 locally
(as opposed to globally as root).
Which was enough for my needs.
Best regards.
…On Fri, Jul 21, 2017 at 2:12 PM, Colton Baker ***@***.***> wrote:
@Botffy <https://github.com/botffy> no problem (re: snark). Mind opening
a PR to modify the README since you have a Windows machine and know the
steps that you had to take to get it working?
@bertrandszoghy <https://github.com/bertrandszoghy> your problem is a
permission issue on your CentOS system. Check the output that you sent and
you can see gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'.
You would need to file a node-gyp issue for that.
@oreporan <https://github.com/oreporan> you can't be having this same
Windows issue on a Linux container. What is the actual issue that you're
running into?
@kalpeshshirodker <https://github.com/kalpeshshirodker> do you have
OpenSSL installed to C:\OpenSSL-Win64?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Abc0t1Wx1RPvwLWfS-vX_Wie5SD-vIcrks5sQOoHgaJpZM4M97d->
.
|
@bertrandszoghy no problem. I would still file an issue with node-gyp. Seeing as how you were doing the install as root, there should be no reason for you to be denied removing a directory. Something is definitely off there. |
Hi, I'm getting a similar error on Debian. I've followed instructions use this: With the latest version of node for the package I was using [email protected] and [email protected] it doesn't work to install. Can you please fix this build issue, or supply the configuration you are using to test your current x509 package, or supply work around instructions? Thank you in advance. Error:
gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/8.2.1" npm ERR! A complete log of this run can be found in: |
@vognition |
@Botffy Thanks. This is a new vm server installation. A few hands are on it. I thought the machine had that stuff installed already, but I guess not. |
I'm getting a similar error trying to deploy an application with Elastic Beanstalk using
Works fine locally on OS X. I tried all the hack-arounds from this thread, but no luck. Seems like a node-gyp issue, but any insights? Admittedly, I do not really know how node-gyp works or is supposed to work. I don't really want to mess around with EB's base AMI permissions 🤒 |
@jasonblanchard The line |
@Botffy Yup, agreed. After digging pretty deep into the EB deploy script, it appears to be running In the meantime, the deploy works if you use the npm I also found a similar sounding issue with the farmhash library and it looks like they solved it by shipping the package with pre-compiled binaries, so that could be an option for node-x509 if other people are hitting this pain point. |
Heard back from AWS support and it sounds like this is actually an NPM 5 regression. Here are some relevant issues:
For now, using the |
I have found a solution to @ashergarland's original issue as I too have had this issue. Start CMD as Administrator cd /d C:\OpenSSL-Win64\lib
mklink libeay32.lib libcrypto.lib Output should match You can find a thread related to the file rename on StackOverflow |
My machine settings:
Windows 10
npm -v // 4.5.0
node -v // 6.10.0
'npm install x509' fail to complete with the error:
LINK : fatal error LNK1181: cannot open input file 'C:\OpenSSL-Win64\lib\libeay32.lib' [C:\git\test\node_modules\x509\b
uild\x509.vcxproj]
Failed at the [email protected] install script 'node-gyp rebuild'.
The text was updated successfully, but these errors were encountered: