You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sorry to open this Issue, but it's driving me nuts.
I installed simple-http-server to replace a python command python3 -m http.server 8080. It worked fine when I first installed it (and ran with https://crates.io/crates/cargo-make/)
I did something, like did a fresh checkout or I use GitHub Codespaces and I ran into this error:
$ cargo make serve
[cargo-make] INFO - cargo make 0.37.12
[cargo-make] INFO - Calling cargo metadata to extract project info
[cargo-make] INFO - Cargo metadata done
[cargo-make] INFO - Project: rkp
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: serve
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Execute Command: "simple-http-server" "-p" "7878" "--nocache" "--try-file" "./www/index.html"
[cargo-make] ERROR - Error while executing command, error: Os {
code: 2,
kind: NotFound,
message: "No such file or directory",
}
[cargo-make] WARN - Build Failed.
the problem is that the exact command works on my local, but does not work on another machine that was recently set up by another engineer and it does not work in a new GitHub codespace (so new env setup is the culprit).
my issue that that SOMEHOW I fixed the error above, but I don't remember what I did to fix it. and now this new engineer is observing this issue (as am I in GH codespaces, but NOT on my local where it was originally working before and still works with no changes to the git-committed code).
should I be looking for something like file permissions to resolve this issue?
working on my local:
cargo make serve
[cargo-make] INFO - cargo make 0.37.10
[cargo-make] INFO - Calling cargo metadata to extract project info
[cargo-make] INFO - Cargo metadata done
[cargo-make] INFO - Project: rkp
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: serve
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Execute Command: "simple-http-server" "-i" "./www/" "-p" "7878" "--nocache"
Index: enabled, Cache: disabled, Cors: disabled, Coop: disabled, Coep: disabled, Range: enabled, Sort: enabled, Threads: 3
Upload: disabled, CSRF Token:
Auth: disabled, Compression: disabled
https: disabled, Cert: , Cert-Password:
Root: /Users/.../www,
TryFile404:
Address: http://0.0.0.0:7878
======== [2024-05-07 17:23:17] ========
The text was updated successfully, but these errors were encountered:
I'm sorry to open this Issue, but it's driving me nuts.
I installed simple-http-server to replace a python command
python3 -m http.server 8080
. It worked fine when I first installed it (and ran with https://crates.io/crates/cargo-make/)Makefile.toml
I did something, like did a fresh checkout or I use GitHub Codespaces and I ran into this error:
the problem is that the exact command works on my local, but does not work on another machine that was recently set up by another engineer and it does not work in a new GitHub codespace (so new env setup is the culprit).
my issue that that SOMEHOW I fixed the error above, but I don't remember what I did to fix it. and now this new engineer is observing this issue (as am I in GH codespaces, but NOT on my local where it was originally working before and still works with no changes to the git-committed code).
should I be looking for something like file permissions to resolve this issue?
working on my local:
The text was updated successfully, but these errors were encountered: