-
Notifications
You must be signed in to change notification settings - Fork 88
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
Strange problem since upgrading to Node 5.3.0 on Windows 10 #111
Comments
I am not sure. Try using version 6 (branch v6 on github) - I have have done a lot of work and it is ready for release (I just need to write the documentation). It may fix your problem. Please tell me if it works... |
Ok, I copied the v6 into my Output is as follows:
I can't find the config.h file, did I miss something? |
The only |
Hmmm - I don't think copy v6, rather to test this, clone the entire github module, then checkout v6. Then npm install and see if it installs. Also, if this happens again, please can you give me a more detailed dump. |
Hi - actually, please follow instructions above (i.e. reclone this module). |
Ok, just for the record, the error is the same when I do
|
Hi Can you translate these errors into English:
I like German, but I don't speak it ;) |
Sure: E:\repositories\node-scrypt\scrypt\scrypt-1.2.0\libcperciva\util\sysendian.h(21): error C2054: 'inline' must be followed by '(' (..\src\scryptwrapper\keyderivation.c) [E:\repositorie s\node-scrypt\build\scrypt_wrapper.vcxproj] E:\repositories\node-scrypt\scrypt\scrypt-1.2.0\libcperciva\util\sysendian.h(22): error C2085: 'libcperciva_be16dec': Not included in formal parameter list (..\src\scrypt wrapper\keyderivation.c) [E:\repositories\node-scrypt\build\scrypt_wrapper.vcxproj] E:\repositories\node-scrypt\scrypt\scrypt-1.2.0\libcperciva\util\sysendian.h(22): error C2143: Syntax error: Missing ';' before '{' (..\src\scryptwrapper\keyderivation.c) [E:\repositories\node-scrypt\build\scrypt_wrapper.vcxproj] |
Tell me, what version of MSVC are you using? |
I installed Visual Studio 2013, how can I find out the exact version? |
"Microsoft Visual Studio Express 2013 for Windows Desktop with Update 4" - this was working with the older node-scrypt versions (https://www.microsoft.com/download/details.aspx?id=44914). |
Okay, I think your compiler is correct. MSVC does not like inline for C, and this library is being compiled using C (not C++ - just the scrypt part of it). What I can't figure out is why this is not a problem on my test machine. I think that I need to set some flag. Let me investigate. Just so that I have it on record, please can you tell me the version of Node you are using (I assume it is version 5 or something). |
Yes, it's 5.3.0 |
Could you do me a BIG favour - I am assuming you are using NVM. Can you confirm for me that you still get this error when using version 4.x of Node. I would very much appreciate this. |
Probably I'm not an optimal test subject right now because of this strange error in my first comment - something seems to have changed on my machine and I don't know what. The currently released version of node-scrypt worked all the time with Node v5.2.0 and 4.x, I only got this error since installing 5.3.0. (but now also on any other Node version) |
Hm, no I don't use NVM, I just install the .msi packages from nodejs.org homepage |
Yes, I'm getting the same thing with 4.2.3:
|
I got it fixed now. I had a wrong PATH environment variable to my OpenSSL installation directory, so the The build problem with the v6 branch still persist, though. |
I'll close this issue but I'm open to test the v6 branch, just let me know. |
Hi,
I suddenly get this strange error in one of my apps after upgrading to Node.js v5.3.0 on Windows 10. I tried to downgrade Node.js to v5.2.0 and even v4.2.3 again, but the problem persists, even though I'm pretty sure it worked before with Node v5.2.0. and 4.x.
I know this doesn't necessarily have to be a problem with the scrypt module, but I highly appreciate any help how to fix it.
I always did a clean removal of the
node_modules
folder andnpm i
when I changed the node version. Building or installing doesn't give me any errors.This error shows when I start the app (the german error message translates to The specified module was not found.):
Also see nodejs/node#2964 ("this error can occur when loading a module that has dependencies on other modules that are not found").
Thanks for any hints.
The text was updated successfully, but these errors were encountered: