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

Fix an error with node18 #178

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

DarkSorrow
Copy link

While working on the hackathon for flow I had the following error while importing the package /node_modules/@freshmint/core/crypto/elliptic.ts:7 2023-02-23 11:33:06 const ECDSA_P256 = new elliptic.ec('p256');

Changeing the way the package is imported resolved the issue which seems to be due to the fact that this package export his class as default already and using the * induce an error from the nodejs imports

While working on the hackathon for flow I had the following error while importing the package
/node_modules/@freshmint/core/crypto/elliptic.ts:7
2023-02-23 11:33:06 const ECDSA_P256 = new elliptic.ec('p256');

Changeing the way the package is imported resolved the issue which seems to be due to the fact that this package export his class as default already and using the * induce an error from the nodejs imports
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

Successfully merging this pull request may close these issues.

None yet

1 participant