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

Not able to compile with Windows. #11

Open
ThaFurther opened this issue Feb 21, 2021 · 0 comments
Open

Not able to compile with Windows. #11

ThaFurther opened this issue Feb 21, 2021 · 0 comments

Comments

@ThaFurther
Copy link

ThaFurther commented Feb 21, 2021

Hello,

Developing on Windows is the only option for some of us 😄.

When attempting to include to use version ^2.1.7 of redisk, I'm faced with the following error:

  ERROR in ./node_modules/redisk/node_modules/redis-parser/lib/hiredis.js 3:14-32
  Module not found: Error: Can't resolve 'hiredis' in '\node_modules\redisk\node_modules\redis-parser\lib'
  Did you mean './hiredis'?

So I attempted to install hiredis, and now am faced with this error:

npm ERR! \node_modules\hiredis\src\reader.cc(21,32): error C2661: 'v8::Object::Set': no overloaded function takes 2 arguments [\node_modules\hiredis\build\hiredis.vcxproj]
npm ERR! \node_modules\hiredis\src\reader.cc(55,42): error C2660: 'v8::Value::ToString': function does not take 0 arguments [\node_modules\hiredis\build\hiredis.vcxproj]
npm ERR! \node-gyp\Cache\15.9.0\include\node\v8.h(2856,44): message : see declaration of 'v8::Value::ToString' [\node_modules\hiredis\build\hiredis.vcxproj]

And here is my current understanding: I noticed that redisk usesredis-2.8.X which includes redis-parser which includes hiredis.

possible solution(s)

  • redisk may be able to get around this by upgrading to redis-3.X.X
  • clients can get around this issue by possibly finding a way to compile hiredis libs on Windows.

Thanks!

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