Skip to content

Initializing Humanloop SDK fails with SemVer TypeError in Cloudflare Worker #10

Description

@HananAlsawy

Description:

When initializing Humanloop SDK in a Cloudflare Worker, I encounter the following error:
[ERROR] service core:user:: Uncaught TypeError: Invalid Version: in SemVer

Environment:

  • pnpm version: 10.0.0
  • node version: 20.16.0
  • humanloop version: ^0.8.10
  • Runtime: Cloudflare Worker

Steps to Reproduce:

1- Install Humanloop SDK in a Cloudflare Worker
2- Initialize the SDK
3- Observe the error in the logs

Steps Taken to Resolve:

  • Deleted node_modules, pnpm-lock.yaml, pnpm cache and reinstalled dependencies

Screenshot:

Image

Any guidance on resolving this issue would be appreciated. Let me know if you need any further details.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions