Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
This repository was archived by the owner on May 5, 2025. It is now read-only.

Cannot install RumComponentContext or Error boundary via https and yarn V3 #20

Description

@ben-gryps

Issue tracker is used for reporting bugs and requesting enhancements.

Expected Behavior

Using the command: yarn add https://github.com/DataDog/rum-react-integration-examples
Should add "@datadog/rum-react-integration" to my package.json.
I should be able to import { WithRumComponentContext } from '@datadog/rum-react-integration' and use the import.

Current Behavior

Console output after running yarn add https://github.com/DataDog/rum-react-integration-examples:

Usage Error: It seems you are trying to add a package using a https:... url; we now require package names to be explicitly specified.
Try running the command again with the package name prefixed: yarn add my-package@https:...

Possible Solution

Steps to Reproduce

Using yarn@3.5.1
To upgrade yarn: yarn set version stable && yarn install
Try install: yarn add https://github.com/DataDog/rum-react-integration-examples

Context (Environment)

I am trying to keep my usage of WithRumComponentContext and ErrorBoundary provided by this package, without copying the code into my repo.

Detailed Description

Possible Implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions