Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ben-gryps opened this issue May 4, 2023 · 0 comments

Comments

@ben-gryps
Copy link

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 [email protected]
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant