{"action":"created","issue":{"url":"https://api.github.com/repos/improbable-eng/ts-protoc-gen/issues/33","repository_url":"https://api.github.com/repos/improbable-eng/ts-protoc-gen","labels_url":"https://api.github.com/repos/improbable-eng/ts-protoc-gen/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/improbable-eng/ts-protoc-gen/issues/33/comments","events_url":"https://api.github.com/repos/improbable-eng/ts-protoc-gen/issues/33/events","html_url":"https://github.com/improbable-eng/ts-protoc-gen/issues/33","id":292287174,"number":33,"title":"Having permission denied issue & unable to locate file ","user":{"login":"solo-dancer","id":29709799,"avatar_url":"https://avatars3.githubusercontent.com/u/29709799?v=4","gravatar_id":"","url":"https://api.github.com/users/solo-dancer","html_url":"https://github.com/solo-dancer","followers_url":"https://api.github.com/users/solo-dancer/followers","following_url":"https://api.github.com/users/solo-dancer/following{/other_user}","gists_url":"https://api.github.com/users/solo-dancer/gists{/gist_id}","starred_url":"https://api.github.com/users/solo-dancer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solo-dancer/subscriptions","organizations_url":"https://api.github.com/users/solo-dancer/orgs","repos_url":"https://api.github.com/users/solo-dancer/repos","events_url":"https://api.github.com/users/solo-dancer/events{/privacy}","received_events_url":"https://api.github.com/users/solo-dancer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-01-29T05:18:49Z","updated_at":"2018-02-21T21:46:04Z","closed_at":null,"author_association":"NONE","body":" **I tried this on ubuntu  :**\r\n\r\n_solo@solo-Aspire-5740:~/WebstormProjects/GRPCCLient/GRPCTS$ ./protoc --plugin=protoc-gen-ts= ./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:generated --ts_out=service=true:generated   -I ./proto ./proto/a.proto\r\n\r\n./node_modules/.bin/protoc-gen-ts: File does not reside within any path specified using --proto_path (or -I).  You must specify a --proto_path which encompasses this file.  Note that the proto_path must be an exact prefix of the .proto file names -- protoc is too dumb to figure out when two paths (e.g. absolute and relative) are equivalent (it's harder than you think)._\r\n\r\n\r\n**If put them in the same folder location :** \r\n\r\n_solo@solo-Aspire-5740:~/WebstormProjects/GRPCCLient/GRPCTS$ ./protoc --plugin=protoc-gen-ts= ./protoc-gen-ts --js_out=import_style=commonjs,binary:generated --ts_out=service=true:generated   -I ./ ./a.proto\r\n[libprotobuf WARNING google/protobuf/compiler/parser.cc:546] No syntax specified for the proto file: protoc-gen-ts. Please use 'syntax = \"proto2\";' or 'syntax = \"proto3\";' to specify a syntax version. (Defaulted to proto2 syntax.)\r\nprotoc-gen-ts:1:1: Expected top-level statement (e.g. \"message\")._\r\n\r\n\r\n**This is what i get on windows  : <Note : I am running CMD in admin mode >**\r\n\r\n_C:\\AltsLab\\alts-grpc\\GRPCClientNew\\protoc.exe --plugin=protoc-gen-ts=C:\\AltsLab\\alts-grpc\\GRPCClientNew\\node_modules.bin\\protoc-gen-ts --ts_out=service=true:generated C:\\AltsLab\\alts-grpc\\GRPCClientNew\\proto -I C:\\AltsLab\\alts-grpc\\GRPCClientNew\\proto C:\\AltsLab\\alts-grpc\\GRPCClientNew\\proto\\a.proto\r\n\r\nC:\\AltsLab\\alts-grpc\\GRPCClientNew\\proto: Permission denied_\r\n\r\n\r\n\r\nCan you please help me resolve either one of this ?\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/improbable-eng/ts-protoc-gen/issues/comments/367484544","html_url":"https://github.com/improbable-eng/ts-protoc-gen/issues/33#issuecomment-367484544","issue_url":"https://api.github.com/repos/improbable-eng/ts-protoc-gen/issues/33","id":367484544,"user":{"login":"cristianmad","id":5718092,"avatar_url":"https://avatars2.githubusercontent.com/u/5718092?v=4","gravatar_id":"","url":"https://api.github.com/users/cristianmad","html_url":"https://github.com/cristianmad","followers_url":"https://api.github.com/users/cristianmad/followers","following_url":"https://api.github.com/users/cristianmad/following{/other_user}","gists_url":"https://api.github.com/users/cristianmad/gists{/gist_id}","starred_url":"https://api.github.com/users/cristianmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristianmad/subscriptions","organizations_url":"https://api.github.com/users/cristianmad/orgs","repos_url":"https://api.github.com/users/cristianmad/repos","events_url":"https://api.github.com/users/cristianmad/events{/privacy}","received_events_url":"https://api.github.com/users/cristianmad/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T21:46:04Z","updated_at":"2018-02-21T21:46:04Z","author_association":"NONE","body":"I'm running into the exact same issue. Where you able to find the problem?\r\nThanks"}}
{"actor":{"display_login":"cristianmad"}}