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

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

Open
huan opened this issue Feb 23, 2021 · 0 comments
Open

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

huan opened this issue Feb 23, 2021 · 0 comments

Comments

@huan
Copy link

huan commented Feb 23, 2021

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

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