You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
ERROR: protoc exited with an error (1) when executed with:
protoc
--plugin=protoc-gen-php='/Users/myproject/libs/Protobuf-PHP/protoc-gen-php.php'
--proto_path='/myproject/libs/Protobuf-PHP/library/DrSlump/Protobuf/Compiler/protos'
--php_out=':./'
'/myproject/test.proto'
The text was updated successfully, but these errors were encountered:
When Generating PHP classes, it report error:
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).
ERROR: protoc exited with an error (1) when executed with:
protoc
--plugin=protoc-gen-php='/Users/myproject/libs/Protobuf-PHP/protoc-gen-php.php'
--proto_path='/myproject/libs/Protobuf-PHP/library/DrSlump/Protobuf/Compiler/protos'
--php_out=':./'
'/myproject/test.proto'
The text was updated successfully, but these errors were encountered: