goui-org / goui

An experimental web framework for creating user interfaces
5 stars 0 forks source link

List requirements in README #1

Open soypat opened 7 months ago

soypat commented 7 months ago

I'm getting the following error on running a new application:

devserver.Server.Run: build.runDebug: exec: "wasm-opt": executable file not found in $PATH:
twharmon commented 7 months ago

Yes, more needs to be in the readme. You should have a note on this in your goui.yml.

Change wasm_opt to false in goui.yml.

twharmon commented 7 months ago

I just released a newer version of gouix to make wasm-opt disabled by default.

twharmon commented 7 months ago

@soypat Does that resolve your issue?

soypat commented 7 months ago

New error message, probably need to make something in tinygo?

generating static assets...
compiling src...

Error: devserver.Server.Run: build.runDebug: exit status 1: error: could not find wasi-libc, perhaps you need to run `make wasi-libc`?
twharmon commented 7 months ago

I haven't seen that before. What OS are you on? Do you have tinygo installed? Run tinygo version.

soypat commented 6 months ago

Yes, tinygo is installed but I probably need to run one of the make commands to fulfill some wasm dependency I'm missing (I built tinygo from source)