NodeRedis / node-redis-parser

A high performance Redis protocol (RESP) parser for JavaScript. Used by Node Redis & ioredis.
MIT License
88 stars 36 forks source link

TypeError on options argument #12

Closed trakout closed 8 years ago

trakout commented 8 years ago

Currently receiving the following error:

TypeError: The options argument contains the property "extend" that is either unkown or of a wrong type

at new JavascriptRedisParser (/Users/travisn/git/MSCBMOPROD/mscbmoprod-node-api-public/node_modules/redis-parser/lib/parser.js:255:13)
    at create_parser (/Users/travisn/git/MSCBMOPROD/mscbmoprod-node-api-public/node_modules/redis/index.js:186:12)
    at new RedisClient (/Users/travisn/git/MSCBMOPROD/mscbmoprod-node-api-public/node_modules/redis/index.js:160:25)

Using redis-parser@2.0.4 redis@2.6.2

Able to reproduce using node 4.4.4 & 6.2.2.

Not sure where this extend property is coming from, any ideas?