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

Can't load [email protected] #70

Open
exoego opened this issue Mar 16, 2024 · 1 comment
Open

Can't load [email protected] #70

exoego opened this issue Mar 16, 2024 · 1 comment
Assignees

Comments

@exoego
Copy link

exoego commented Mar 16, 2024

// Click Build for the Bundled, Minified & Compressed package size
export * from "[email protected]";
export { default as jestDefault } from "[email protected]";

results in

✘ [ERROR] Do not know how to load path: http-url:https://unpkg.com/[email protected]/build/default_resolver

http-url:https://unpkg.com/[email protected]/getDefaultResolver:8:32:

      8 │ ...tResolver = require(`jest-resolve/build/default_resolver`).default;
        ╵                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@okikio okikio self-assigned this Jun 10, 2024
@okikio
Copy link
Owner

okikio commented Jun 10, 2024

CleanShot 2024-06-10 at 16 24 54@2x

CleanShot 2024-06-10 at 16 23 06@2x

CleanShot 2024-06-10 at 16 24 02@2x

It seems the issue is that esbuild tries to fetch both of these imports which leads to an error, because default_resolver doesn't exist. I'm looking into potential solutions

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

2 participants