antonmedv/fx

Panic error when invoked directly on Windows

Closed this issue · 2 comments

Windows 7 x64, FX 21.0–31.0, example.json

Documentation says I could run fx directly, but…

$ fx example.json
panic: prepare console: set console mode: The parameter is incorrect.

goroutine 1 [running]:
main.main()
        /home/runner/work/fx/fx/main.go:192 +0xfb9

However, the following command works

$ fx example.json .glossary .title
example glossary

Works for me.

image

I guess this is a windows specific problem.

I guess this is a windows specific problem.

Which exists since version 21.0 (when you switched to Go), i.e. since 2022-04.