Skip to content

bug(whatsapp-gateway): link-preview-js peer conflict prevents clean npm install; no lockfile committed #6180

Description

@BunnyMoth

Description

npm install fails in packages/whatsapp-gateway/ without --legacy-peer-deps due to a peer dependency conflict:

  • @whiskeysockets/[email protected] requires link-preview-js@^3.0.0
  • The project declares link-preview-js@^4.0.1

No lockfile (package-lock.json or yarn.lock) is committed to the repository, meaning npm audit cannot run in CI against this component without the force flag. The gateway's dependency surface is effectively unmonitored by automated tooling.

Expected Behavior

npm install --package-lock-only should complete without errors.
A lockfile should be committed so npm audit can run in CI automatically.

Steps to Reproduce

cd packages/whatsapp-gateway
npm install --package-lock-only

ERROR: ERESOLVE could not resolve

@whiskeysockets/[email protected] requires link-preview-js@^3.0.0

Project declares link-preview-js@^4.0.1

LibreFang Version

v2026.6.16-beta.19 (commit 988a268)

Operating System

Windows

Logs / Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/channelsMessaging channel adaptersarea/sdkJavaScript and Python SDKsbugSomething isn't workinghas-prA pull request has been linked to this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions