Skip to content

Fix an error with node18#178

Open
DarkSorrow wants to merge 1 commit intoonflow:mainfrom
DarkSorrow:patch-1
Open

Fix an error with node18#178
DarkSorrow wants to merge 1 commit intoonflow:mainfrom
DarkSorrow:patch-1

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.

1 participant