Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

TypeError: midtransClient.Snap is not a constructor #80

Closed
TacoFury opened this issue Oct 24, 2024 · 1 comment
Closed

TypeError: midtransClient.Snap is not a constructor #80

TacoFury opened this issue Oct 24, 2024 · 1 comment

Comments

@TacoFury
Copy link

TacoFury commented Oct 24, 2024

const snap = new midtransClient.Snap({
^

TypeError: midtransClient.Snap is not a constructor

@TacoFury TacoFury changed the title cannot find module './SnapBiApiRequestor' const snap = new midtransClient.Snap({ ^ TypeError: midtransClient.Snap is not a constructor Oct 24, 2024
@TacoFury TacoFury changed the title const snap = new midtransClient.Snap({ ^ TypeError: midtransClient.Snap is not a constructor TypeError: midtransClient.Snap is not a constructor Oct 24, 2024
@uziwuzzy
Copy link
Collaborator

uziwuzzy commented Oct 25, 2024

sorry for the error, please use other version except v1.4*, you can downgrade to use v1.3* for now https://www.npmjs.com/package/midtrans-client?activeTab=versions. Will fix the release nextweek.

@uziwuzzy uziwuzzy closed this as completed Nov 7, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants