-
Notifications
You must be signed in to change notification settings - Fork 81
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
Trying to use this but i'm getting NodeWallet not constructor #1
Comments
Dealing with same error |
did you figure any solutions? |
Can you show me the contents of
Check the import also
|
for me, i didnt use commonjs within my tsconfig, that fixed it. |
So the fix for the library might be using es2022 for the module and the target, which ill make the change |
This is now resolved with Common JS in the build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
const wallet = new NodeWallet(Keypair.generate()); //note this is not used
this errors with
const wallet = new NodeWallet(Keypair.generate()); //note this is not used
^
TypeError: NodeWallet is not a constructor
unsure what i'm doing wrong.
The text was updated successfully, but these errors were encountered: