Skip to content

执行bazel build编译出错 #1

Description

@moranno
ERROR: /root/go/src/github.com/rc452860/vnet/cmd/shadowsocksr-server/BUILD:8:12: error executing shell command: '/bin/bash -c CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOROOT_FINAL=/go GOCACHE=${TMPDIR}/gocache go build -o bazel-out/k8-fastbuild/bin/cmd/shadowsocksr-server/linux/amd64/vnet -compiler gc -gcflags "...' failed (Exit 1): bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped)
no required module provides package github.com/rc452860/vnet/cmd/shadowsocksr-server: working directory is not part of a module

请指导一下排查的方向?谢谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions