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.
Hello,
Developing on Windows is the only option for some of us 😄.
When attempting to include to use version
^2.1.7
ofredisk
, I'm faced with the following error:So I attempted to install
hiredis
, and now am faced with this error:And here is my current understanding: I noticed that
redisk
usesredis-2.8.X
which includesredis-parser
which includeshiredis
.possible solution(s)
redisk
may be able to get around this by upgrading toredis-3.X.X
Thanks!