Skip to content
This repository was archived by the owner on Sep 10, 2026. It is now read-only.
This repository was archived by the owner on Sep 10, 2026. It is now read-only.

name 'FileType' is not defined #258

Description

@firstprayer

Got an error saying "name 'FileType' is not defined"

$ bazel build :all  # In the root directory of this project
Starting local Bazel server and connecting to it...
ERROR: /Users/taiyuanz/Projects/rules_protobuf/protobuf/internal/proto_compile.bzl:745:21: name 'FileType' is not defined
ERROR: error loading package '': in /Users/taiyuanz/Projects/rules_protobuf/protobuf/rules.bzl: Extension 'protobuf/internal/proto_compile.bzl' has errors
ERROR: error loading package '': in /Users/taiyuanz/Projects/rules_protobuf/protobuf/rules.bzl: Extension 'protobuf/internal/proto_compile.bzl' has errors
INFO: Elapsed time: 1.751s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
    Fetching @bazel_tools; Restarting.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions