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
/home/paralin/Documents/fusecloud-ng/grpc-bus/node_modules/protobufjs/src/util.js:66
return TypeError(name + " must be " + (description || "a string"));
^
TypeError: type (is undefined) [undefined] must be a string
at TypeError (native)
at util._TypeError (/home/paralin/Documents/fusecloud-ng/grpc-bus/node_modules/protobufjs/src/util.js:66:12)
at new Method (/home/paralin/Documents/fusecloud-ng/grpc-bus/node_modules/protobufjs/src/method.js:36:15)
at Function.fromJSON (/home/paralin/Documents/fusecloud-ng/grpc-bus/node_modules/protobufjs/src/method.js:105:12)
at /home/paralin/Documents/fusecloud-ng/grpc-bus/node_modules/protobufjs/src/service.js:80:32
at Array.forEach (native)
at Function.fromJSON (/home/paralin/Documents/fusecloud-ng/grpc-bus/node_modules/protobufjs/src/service.js:79:35)
at /home/paralin/Documents/fusecloud-ng/grpc-bus/node_modules/protobufjs/src/namespace.js:131:50
at Array.forEach (native)
at Namespace.addJSON (/home/paralin/Documents/fusecloud-ng/grpc-bus/node_modules/protobufjs/src/namespace.js:127:33)
When I try to load it with fromJSON I get the error above. The error output has a bit of extra output I put in when debugging the issue. The "type" argument is undefined, probably because the methods do not have a "type" field on them from the pbjs output.
Fix: either put "rpc" in the type field in the pbjs output, or default "undefined" -> "rpc".
The text was updated successfully, but these errors were encountered:
Getting this error:
Proto:
In "compiled" inline JS object:
When I try to load it with
fromJSON
I get the error above. The error output has a bit of extra output I put in when debugging the issue. The "type" argument is undefined, probably because the methods do not have a "type" field on them from the pbjs output.Fix: either put "rpc" in the type field in the pbjs output, or default "undefined" -> "rpc".
The text was updated successfully, but these errors were encountered: