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

[Issue] React Example project does not compile when using @nymproject/nym-client-wasm v0.9.0-1 #878

Closed
ghost opened this issue Nov 4, 2021 · 4 comments
Assignees
Labels
bug Something isn't working bug-needs-triage A bug that needs discussing and triage qa Quality Assurance

Comments

@ghost
Copy link

ghost commented Nov 4, 2021

Describe the issue
When I use the @nymproject/nym-client-wasm on version 0.9.0-1 and I try to start the react-example project, I get a compiling error

Expected behaviour
It should compile properly and start the dev-server

Steps to Reproduce

  • Given I was trying the webassembly client with the react-example project
  • And I installed the npm package : @nymproject/nym-client-wasm v0.9.0-1
  • When I started the dev-server
  • Then I got a compiling error

Screenshots
Screenshot 2021-11-04 at 14 18 39

Which area of Nym were you using?

  • Application: WebAssembly client
  • OS: MacOs BigSur
  • Browser: Brave, Firefox
  • Version: nym binary(0.11.0)
@ghost ghost added bug Something isn't working bug-needs-triage A bug that needs discussing and triage qa Quality Assurance labels Nov 4, 2021
@ghost ghost assigned tommyv1987 Nov 4, 2021
@elliehachemjob
Copy link

I tested it out in codesandbox it seems to be working fine

https://codesandbox.io/s/vigilant-forest-c0uff

could you try building using Yarn?

@ghost
Copy link
Author

ghost commented Nov 4, 2021

Hey @elliehachemjob, thanks for your answer.

I forked your sandbox to load wasm pkg in this one : https://codesandbox.io/s/sweet-meitner-0ee55

The error seems to be quiet similar to what I get locally

@tommyv1987
Copy link
Contributor

Hi @SeraphinBoccacci

Thank you for raising this issue, we will need to upgrade our wasm package to be aligned with our current release.

This is on our agenda to fix and has been moved into with our teams queues.

@tommyv1987
Copy link
Contributor

Closing this issue. The Wasm client has been updated, and the code is in develop. There is a task to clean up the example, which will happen shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working bug-needs-triage A bug that needs discussing and triage qa Quality Assurance
Projects
None yet
Development

No branches or pull requests

2 participants