Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Example projects are not easy to run #123

Open
dkbast opened this issue Dec 14, 2022 · 2 comments
Open

Example projects are not easy to run #123

dkbast opened this issue Dec 14, 2022 · 2 comments

Comments

@dkbast
Copy link

dkbast commented Dec 14, 2022

Neither the hello_world nor the brotli example work "out of the box" e.g. they don't have a pubspec in their folder etc pp, which makes the barrier to enter WASM with dart quite high.

Also the "basic usage" example from the readme is not there as an "example" to investigate.

In order to run either example you have to first create a new project and copy the files over, which is not ideal.

Linking to flutter/flutter#90218 since I tried to test WASM in isolation.

@Divit-vaghani
Copy link

Are you able to run it ? If yes then please share the steps. 😵😵😵

@modulovalue
Copy link
Contributor

@dkbast & @Divit-vaghani thank you for reporting that you are having issues with getting this package to work for you.

I'm wondering, have you tried following the tutorial (that can be found in the readme here) step by step? It would be very helpful if you could report the exact steps that are not working for you.

@dkbast If I understood you correctly, you'd like to have an example folder that you can just copy and paste and that just works, is that correct?

@dkbast & @Divit-vaghani It would be great if you could share more about your use case e.g.:

  • which platforms you plan to run the actual wasm binary on (e.g. iOS, Web, Android?)
  • which language you are trying to run on those platforms (e.g. C compiled to wasm? Rust compiled to wasm? Dart compiled to wasm? or an arbitrary wasm binary that you haven't compiled yourself?)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants