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
$ npm run build
> [email protected] build /home/jroper/src/akkaserverless-iot/home-management
> akkasls-scripts build && npm run lint-check && tsc
Compiling protobuf descriptor with command: /home/jroper/src/akkaserverless-iot/home-management/node_modules/.bin/compile-descriptor /home/jroper/src/akkaserverless-iot/home-management/proto/home_management.proto
Compiling descriptor with command: /home/jroper/src/akkaserverless-iot/home-management/node_modules/@lightbend/akkaserverless-javascript-sdk/protoc/bin/protoc --include_imports --proto_path=/home/jroper/src/akkaserverless-iot/home-management/node_modules/@lightbend/akkaserverless-javascript-sdk/proto --proto_path=/home/jroper/src/akkaserverless-iot/home-management/node_modules/@lightbend/akkaserverless-javascript-sdk/protoc/include --descriptor_set_out=user-function.desc --include_source_info --proto_path=/home/jroper/src/akkaserverless-iot/home-management/proto /home/jroper/src/akkaserverless-iot/home-management/proto/home_management.proto
Building static Javascript definitions from proto with command: /home/jroper/src/akkaserverless-iot/home-management/node_modules/.bin/pbjs /home/jroper/src/akkaserverless-iot/home-management/proto/home_management.proto -t static -o /home/jroper/src/akkaserverless-iot/home-management/lib/generated/proto.js
/home/jroper/src/akkaserverless-iot/home-management/node_modules/protobufjs/cli/pbjs.js:246
throw err;
^
Error: no such type: google.protobuf.Empty
at Service.lookupType (/home/jroper/src/akkaserverless-iot/home-management/node_modules/protobufjs/src/namespace.js:383:15)
at Method.resolve (/home/jroper/src/akkaserverless-iot/home-management/node_modules/protobufjs/src/method.js:157:45)
at Service.resolveAll (/home/jroper/src/akkaserverless-iot/home-management/node_modules/protobufjs/src/service.js:111:20)
at Namespace.resolveAll (/home/jroper/src/akkaserverless-iot/home-management/node_modules/protobufjs/src/namespace.js:308:25)
at Namespace.resolveAll (/home/jroper/src/akkaserverless-iot/home-management/node_modules/protobufjs/src/namespace.js:308:25)
at Namespace.resolveAll (/home/jroper/src/akkaserverless-iot/home-management/node_modules/protobufjs/src/namespace.js:308:25)
at Root.resolveAll (/home/jroper/src/akkaserverless-iot/home-management/node_modules/protobufjs/src/namespace.js:308:25)
at Root.resolveAll (/home/jroper/src/akkaserverless-iot/home-management/node_modules/protobufjs/src/root.js:258:43)
at Object.main (/home/jroper/src/akkaserverless-iot/home-management/node_modules/protobufjs/cli/pbjs.js:237:48)
at Object.<anonymous> (/home/jroper/src/akkaserverless-iot/home-management/node_modules/protobufjs/bin/pbjs:4:16)
/home/jroper/src/akkaserverless-iot/home-management/node_modules/@lightbend/akkasls-scripts/bin/akkasls-scripts.js:182
throw `${actionDescription} failed.`;
^
Building static Javascript definitions from proto failed.
(Use `node --trace-uncaught ...` to show where the exception was thrown)
The text was updated successfully, but these errors were encountered:
This is clearly a bug in
pbjs
, but in my project, when I do this:It works, but if I change the order:
I get this:
The text was updated successfully, but these errors were encountered: