Skip to content

Error: Cannot find module 'protobufjs' #2812

@lounsbrough

Description

@lounsbrough

Describe the bug

When deploying an app on the latest Node alpine 22, I get an error Error: Cannot find module 'protobufjs'.

Expected Behavior

I expect to get a functioning package that I can use to connect to Valkey in AWS.

Current Behavior

I get the error: Error: Cannot find module 'protobufjs'.

Reproduction Steps

Build an image on Alpine Linux and then try to create a valkey client.

Possible Solution

No response

Additional Information/Context

No response

Client version used

1.2.0

Engine type and version

AWS Valkey 8.0

OS

Alpine Linux

Language

TypeScript

Language Version

Node 22

Cluster information

Not relevant

Logs

Error: Cannot find module 'protobufjs'

Other information

No response

Metadata

Metadata

Assignees

Labels

Users PainAn issue known to cause users pain, generaly open by the user.bug 🐞Something isn't workingnode 🐢Node.js wrapper

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions