Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run "meepo serve" on windows x86 #9

Closed
Warkeeper opened this issue May 31, 2021 · 1 comment
Closed

Unable to run "meepo serve" on windows x86 #9

Warkeeper opened this issue May 31, 2021 · 1 comment

Comments

@Warkeeper
Copy link

Environment:

OS Version: Windows 10 Pro 20H2 (x86)
Meepo Version: meepo_windows_amd64

What's going on

After extracting meepo_windows_amd64.zip, I successfully run ".\meepo.exe config init id=yb1." Then I run ".\meepo.exe serve", it shows "panic: Unsupported daemon on windows" no matter if I run it with or without administration permission.

Detail error stack

PS C:\software\meepo> .\meepo.exe serve
panic: Unsupported daemon on windows

goroutine 1 [running]:
github.com/PeerXu/meepo/pkg/util/daemon.Daemon(...)
        github.com/PeerXu/meepo/pkg/util/daemon/daemon_windows.go:8
github.com/PeerXu/meepo/cmd.meepoSummon(0x1c3dbc0, 0x1c90760, 0x0, 0x0, 0x0, 0x0)
        github.com/PeerXu/meepo/cmd/serve.go:73 +0x1687
github.com/spf13/cobra.(*Command).execute(0x1c3dbc0, 0x1c90760, 0x0, 0x0, 0x1c3dbc0, 0x1c90760)
        github.com/spf13/cobra@v1.1.1/command.go:850 +0x472
github.com/spf13/cobra.(*Command).ExecuteC(0x1c3d920, 0xad670b, 0xc000086058, 0xaeba01)
        github.com/spf13/cobra@v1.1.1/command.go:958 +0x375
github.com/spf13/cobra.(*Command).Execute(...)
        github.com/spf13/cobra@v1.1.1/command.go:895
github.com/PeerXu/meepo/cmd.Execute()
        github.com/PeerXu/meepo/cmd/root.go:17 +0x34
main.main()
        github.com/PeerXu/meepo/main.go:6 +0x27
@Warkeeper
Copy link
Author

windows 10 doesn't support daemon feature for now, set command parameter "daemon" to false could solve the problem.

.\meepo.exe serve --daemon=false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant