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

I get an error when using it in Vite. #41

Open
RndUsername opened this issue Dec 21, 2022 · 0 comments
Open

I get an error when using it in Vite. #41

RndUsername opened this issue Dec 21, 2022 · 0 comments

Comments

@RndUsername
Copy link

The error:
X [ERROR] [plugin vite:dep-pre-bundle] Failed to resolve entry for package "ataraxia-transport-streams". The package may have incorrect main/module/exports specified in its package.json.

The plugin "vite:dep-pre-bundle" was triggered by this import

    node_modules/ataraxia-hyperswarm/dist/cjs/HyperswarmTransport.js:10:45:
      10 │ const ataraxia_transport_streams_1 = require("ataraxia-transport-streams");
         ╵                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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