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

Importing a package from @primer/react/drafts on CodeSandbox errors out #2453

Closed
broccolinisoup opened this issue Oct 19, 2022 · 2 comments
Closed
Labels
bug Something isn't working react Stale

Comments

@broccolinisoup
Copy link
Member

Description

When importing a component from @primer/react/drafts on CodeSandbox throws an error Could not find module relative to ... and this errors goes back to 35.4.0 with the drafts entrypoint.

a screenshot that shows the error: Could not find module relative to

Sample CodeSandbox to replicate the issue: https://codesandbox.io/s/weathered-frog-9ij4di

Confirming that draft bundles works as expected on react apps and Replit. Looks like it is a CodeSandbox issue so far.

Steps to reproduce

  1. Open a CodeSandbox project. This can be used as an example.
  2. Make sure to install @primer/react latest version.
  3. Import a draft component ( I.e UnderlineNav ) on your application.

You should be able to see the import error.

Version

^35.4.0

Browser

No response

@github-actions
Copy link
Contributor

Hi! This issue has been marked as stale because it has been open with no activity for 180 days. You can comment on the issue or remove the stale label to keep it open. If you do nothing, this issue will be closed in 7 days.

@github-actions
Copy link
Contributor

Hi! This issue has been marked as stale because it has been open with no activity for 180 days. You can comment on the issue or remove the stale label to keep it open. If you do nothing, this issue will be closed in 7 days.

@github-actions github-actions bot added the Stale label Oct 16, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working react Stale
Projects
None yet
Development

No branches or pull requests

2 participants