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

Cannot find namespace 'WebAssembly' #243

Closed
tranlehaiquan opened this issue Sep 8, 2020 · 2 comments · Fixed by #244
Closed

Cannot find namespace 'WebAssembly' #243

tranlehaiquan opened this issue Sep 8, 2020 · 2 comments · Fixed by #244

Comments

@tranlehaiquan
Copy link

tranlehaiquan commented Sep 8, 2020

  • I'm submitting a ...
    [x] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary
    I try to initial project "node" and when start with npm run watch:test. I got:

node_modules/@bitauth/libauth/build/module/lib/bin/secp256k1/secp256k1-wasm-types.d.ts:80:24 - error TS2503: Cannot find namespace 'WebAssembly'.

80     readonly instance: WebAssembly.Instance;
  • Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

Node: v12.16.1
NPM: v6.14.8
Try both in Macos and windows. Did I do something wrong? Thank you.

bitjson added a commit that referenced this issue Sep 8, 2020
also add tooling for reviewing integration test results

fix #243
bitjson added a commit that referenced this issue Sep 8, 2020
also add tooling for reviewing integration test results

fix #243
@bitjson
Copy link
Owner

bitjson commented Sep 8, 2020

@tranlehaiquan thanks for opening an issue! This was an oversight – I just fixed the issue and added automated tests to make sure builds never error in the future.

Just waiting for CI to pass, then I'll have #244 merged and released. 👍

bitjson added a commit that referenced this issue Sep 8, 2020
also add tooling for reviewing integration test results

fix #243
@bitjson
Copy link
Owner

bitjson commented Sep 8, 2020

Fix released in 586cdb3 🚀

Thanks!

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 a pull request may close this issue.

2 participants