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

The package does not provide an export named 'poseidon' #22

Open
ukorvl opened this issue Jul 15, 2024 · 0 comments
Open

The package does not provide an export named 'poseidon' #22

ukorvl opened this issue Jul 15, 2024 · 0 comments

Comments

@ukorvl
Copy link

ukorvl commented Jul 15, 2024

I have a problem with the package when running it with tsx package. Actually, this is a part of our client library, we use poseidon implementation from this package. Our library by default has type module, so it creates a scope for the loader and everything within it is loaded as es module, except .cjs files.

I got the following error: The requested module '@iden3/js-crypto' does not provide an export named 'poseidon'
Version of the package: 1.1.0.

i have an assumption that the problem occurs because of the module resolution. Another assumption is that #21 will help. I'm interested do you plan to merge it or it is worth to create a separate pull request?

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