Open cyrsis opened 2 years ago
maybe you should run it with RUST_BACKTRACE=1, coz there is not enough details with your raised issue.
$ RUST_TRACEBACK=1 mdbook serve -p 8001 --open
and post the output log here.
RUST_TRACEBACK=1: The term 'RUST_TRACEBACK=1' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
rustc --version
rustc 1.61.0 (fe5b13d68 2022-05-18)
Thanks
RUST_TRACEBACK=1: The term 'RUST_TRACEBACK=1' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
rustc --version rustc 1.61.0 (fe5b13d68 2022-05-18)
Thanks
Must be a windows 11 related problem. Are you using powershell?
Windows 11 Version 21H2
Brand new laptop
Maybe this is why, MDbook Working really well in Macs
AFAIK PowerShell has no equivalent syntax to schwrzstrbn's Bash line, but you can simply execute $env:RUST_TRACEBACK = 1
before running mdBook normally to get the trace info.
Thanks mate
PS C:\dev\ansible-nas> yarn md:run
yarn run v1.22.18
$ mdbook serve -p 8001 --open
2022-06-28 13:51:44 [INFO] (mdbook::book): Book building has started
2022-06-28 13:51:44 [INFO] (mdbook::book): Running the html backend
thread 'main' has overflowed its stack
error Command failed with exit code 3221225725.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
PS C:\dev\ansible-nas> $env:RUST_TRACEBACK = 1
PS C:\dev\ansible-nas> mdbook serve -p 8001 --open
2022-06-28 13:52:38 [INFO] (mdbook::book): Book building has started
2022-06-28 13:52:38 [INFO] (mdbook::book): Running the html backend
thread 'main' has overflowed its stack
PS C:\dev\ansible-nas> ^C
PS C:\dev\ansible-nas> mdbook serve
2022-06-28 13:52:53 [INFO] (mdbook::book): Book building has started
2022-06-28 13:52:53 [INFO] (mdbook::book): Running the html backend
thread 'main' has overflowed its stack
PS C:\dev\ansible-nas> $env:RUST_TRACEBACK = 1 mdbook serve
Annoying... did you compile mdbook
yourself, or did you grab pre-built binaries from somewhere?
install from
cargo install mdbook
installing latest with
cargo install --git https://github.com/rust-lang/mdBook.git mdbook
IT WORK!!!!!!
Thanks guys
PS C:\dev\ansible-nas> yarn md:run
yarn run v1.22.18
$ mdbook serve -p 8001 --open
2022-06-28 14:53:30 [INFO] (mdbook::book): Book building has started
2022-06-28 14:53:30 [INFO] (mdbook::book): Running the html backend
2022-06-28 14:54:00 [INFO] (mdbook::cmd::serve): Serving on: http://localhost:8001/task.html
2022-06-28 14:54:00 [INFO] (mdbook): Opening web browser
2022-06-28 14:54:00 [INFO] (warp::server): Server::run; addr=[::1]:8001
2022-06-28 14:54:00 [INFO] (warp::server): listening on http://[::1]:8001
2022-06-28 14:54:00 [INFO] (mdbook::cmd::watch): Listening for changes...
Hi,
thread 'main' has overflowed its stack
with command
Hopefully I can get some hints