waterwheel
waterwheel copied to clipboard
Compiling ERROR - ui/dist/main.js: No such file or directory
I cloned this repo today:
git clone https://github.com/sphenlee/waterwheel.git
And then run just build
per https://github.com/sphenlee/waterwheel/blob/main/docs/getting-started.md
just build
got the following compiling error:
Compiling waterwheel v0.1.0 (/waterwheel)
error: couldn't read src/server/../../ui/dist/main.js: No such file or directory (os error 2)
--> src/server/api.rs:199:27
|
199 | static JS: &str = include_str!("../../ui/dist/main.js");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
error: couldn't read src/server/../../ui/dist/index.html: No such file or directory (os error 2)
--> src/server/api.rs:200:29
|
200 | static HTML: &str = include_str!("../../ui/dist/index.html");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macro `include_str` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `waterwheel` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: Recipe `build` failed on line 30 with exit code 101