root@solomachine2:~/stag# just build-ui
Building Stag UI...
cd stag-ui && trunk build
2023-06-09T08:15:17.316708Z INFO 📦 starting build
2023-06-09T08:15:17.316898Z INFO spawning asset pipelines
2023-06-09T08:15:17.316921Z INFO spawned hook npx command_arguments=["--yes", "tailwindcss", "--config", "tailwind.config.js", "--input", "main.css", "--output", "tailwind.css", "--minify"]
2023-06-09T08:15:17.316936Z INFO spawning hook stage=PreBuild command=npx
Rebuilding...
Done in 335ms.
npm notice
npm notice New minor version of npm available! 9.5.1 -> 9.7.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.7.1
npm notice Run npm install -g npm@9.7.1 to update!
npm notice
2023-06-09T08:15:21.424522Z INFO finished hook npx
2023-06-09T08:15:24.522489Z INFO copying & hashing css path="tailwind.css"
2023-06-09T08:15:24.522496Z INFO building stag-ui
2023-06-09T08:15:24.522676Z INFO finished copying & hashing css path="tailwind.css"
Compiling proc-macro2 v1.0.50
Compiling quote v1.0.23
Compiling unicode-ident v1.0.6
Compiling syn v1.0.107
Compiling log v0.4.17
Compiling cfg-if v1.0.0
error[E0463]: can't find crate for core
|
= note: the wasm32-unknown-unknown target may not be installed
= help: consider downloading the target with rustup target add wasm32-unknown-unknown
error[E0463]: can't find crate for compiler_builtins
For more information about this error, try rustc --explain E0463.
error: could not compile cfg-if due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
2023-06-09T08:15:31.616044Z ERROR ❌ error
error from HTML pipeline
Caused by:
0: error from asset pipeline
1: error during cargo build execution
2: cargo call returned a bad status
Error: error from HTML pipeline
Caused by:
0: error from asset pipeline
1: error during cargo build execution
2: cargo call returned a bad status
error: Recipe build-ui failed on line 34 with exit code 1
Running just build-ui gave a cfg.if error:
root@solomachine2:~/stag# just build-ui Building Stag UI... cd stag-ui && trunk build 2023-06-09T08:15:17.316708Z INFO 📦 starting build 2023-06-09T08:15:17.316898Z INFO spawning asset pipelines 2023-06-09T08:15:17.316921Z INFO spawned hook npx command_arguments=["--yes", "tailwindcss", "--config", "tailwind.config.js", "--input", "main.css", "--output", "tailwind.css", "--minify"] 2023-06-09T08:15:17.316936Z INFO spawning hook stage=PreBuild command=npx
Rebuilding...
Done in 335ms. npm notice npm notice New minor version of npm available! 9.5.1 -> 9.7.1 npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.7.1 npm notice Run npm install -g npm@9.7.1 to update! npm notice 2023-06-09T08:15:21.424522Z INFO finished hook npx 2023-06-09T08:15:24.522489Z INFO copying & hashing css path="tailwind.css" 2023-06-09T08:15:24.522496Z INFO building stag-ui 2023-06-09T08:15:24.522676Z INFO finished copying & hashing css path="tailwind.css" Compiling proc-macro2 v1.0.50 Compiling quote v1.0.23 Compiling unicode-ident v1.0.6 Compiling syn v1.0.107 Compiling log v0.4.17 Compiling cfg-if v1.0.0 error[E0463]: can't find crate for
core
| = note: thewasm32-unknown-unknown
target may not be installed = help: consider downloading the target withrustup target add wasm32-unknown-unknown
error[E0463]: can't find crate for
compiler_builtins
For more information about this error, try
rustc --explain E0463
. error: could not compilecfg-if
due to 2 previous errors warning: build failed, waiting for other jobs to finish... 2023-06-09T08:15:31.616044Z ERROR ❌ error error from HTML pipelineCaused by: 0: error from asset pipeline 1: error during cargo build execution 2: cargo call returned a bad status Error: error from HTML pipeline
Caused by: 0: error from asset pipeline 1: error during cargo build execution 2: cargo call returned a bad status error: Recipe
build-ui
failed on line 34 with exit code 1