Skip to content

Error in while starting node server - Baseclass undefined #2405

@kumark86

Description

@kumark86

We are trying to incorporate the redis cache in node server. But throwing below error

node_modules/@redis/client/dist/lib/commander.js:5

function attachCommands({ BaseClass, commands, executor }) {
                          ^
TypeError: Cannot destructure property 'BaseClass' of 'undefined' as it is undefined.

Node version: 14.15.0
Redis Version: 4.5.1

Please help me to resolve the issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions