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

go get -u github.com/bilibili/kratos/tool/kratos error #12

Closed
zanjs opened this issue Apr 22, 2019 · 11 comments
Closed

go get -u github.com/bilibili/kratos/tool/kratos error #12

zanjs opened this issue Apr 22, 2019 · 11 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@zanjs
Copy link

zanjs commented Apr 22, 2019

\github.com\bilibili\kratos\tool\kratos\build.go:16:12: undefined: pty.Start

@maoxian-1
Copy link

同样有这问题

@yinjk
Copy link

yinjk commented Apr 23, 2019

执行go get -u github.com/bilibili/kratos/tool/kratos,同出现这个问题:

# github.com/bilibili/kratos/tool/kratos
tool\kratos\build.go:16:12: undefined: pty.Start

@nicolaslh
Copy link

不能在windows上编译

@whtiehack
Copy link

不支持windows。

@zanjs
Copy link
Author

zanjs commented Apr 23, 2019

go 大法是 夸平台, 为什么不支持 windows

@maoxian-1
Copy link

go 大法是 夸平台, 为什么不支持 windows

貌似是这东西调用了Unix下的一些终端命令

@whtiehack
Copy link

原因是用了 pty 这个库。这个库是不跨平台的。 源码文件 第一行是 // +build:!windows
B站的大佬们出来解决一下呀

@felixhao
Copy link
Collaborator

我们解决下~~(大家都换mac吧😁

@felixhao felixhao self-assigned this Apr 24, 2019
@felixhao felixhao added the help wanted Extra attention is needed label Apr 24, 2019
@Terry-Mao
Copy link
Member

@longXboy 这个看下

@whtiehack
Copy link

@felixhao 合并下呀!~

@felixhao
Copy link
Collaborator

已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants