Skip to content

Error: Unexpected token: "XXX.proto". Expected ";" #59

@huan

Description

@huan

We do not support import public when running grpc-dynamic-gateway.

After removing the public, it runs without any problem.

/home/huan/git/grpc-dynamic-gateway/node_modules/protocol-buffers-schema/parse.js:501
  if (tokens[0] !== ';') throw new Error('Unexpected token: ' + tokens[0] + '. Expected ";"')
                         ^

Error: Unexpected token: "puppet/base.proto". Expected ";"

Related issue: grpc-ecosystem/grpc-gateway#139
Link to konsumer/grpc-dynamic-gateway#50

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions