Open lucas-codes-stuff opened 10 months ago
Could you run supabase functions download userAdd --create-ticket
to send a crash report? It helps us collect context information to help reproduce.
Note: This is probably due to a Windows path separator being in the argument.
fn main() {
let x = Path::new("\\aaa\\aa");
dbg!(x.strip_prefix("/"));
}
[src/main.rs:6] x.strip_prefix("/") = Err(
StripPrefixError(
(),
),
)
Describe the bug Currently trying to download a function from my Supabase project and it's throwing a strange error no matter what I do
Error states:
thread 'main' panicked at crates/sb_graph/lib.rs:144:61: called
Result::unwrap()
on anErr
value: StripPrefixError(()) note: run withRUST_BACKTRACE=1
environment variable to display a backtrace error running container: exit 101 Try rerunning the command with --debug to troubleshoot the error.To Reproduce Steps to reproduce the behavior:
Expected behavior The function is downloaded locally
Screenshots
Desktop (please complete the following information):