future-area-11976
03/17/2025, 7:35 PMfuture-area-11976
03/17/2025, 7:36 PM$ AWS_PROFILE=dev pulumi preview --stack <my-org>/dev
Previewing update (<my-org>/dev)
View in Browser (Ctrl+O): <https://app.pulumi.com/><my-org>/<my-project>/dev/previews/<UUID>
Type Name Plan Info
pulumi:pulumi:Stack <my-project>-dev 5 errors
Diagnostics:
pulumi:pulumi:Stack (<my-project>-dev):
error: Running program '/home/aru/code/infrastructure/stacks/<my-project>/' failed with an unhandled exception:
<ref *1> TypeError: c.g is not a function
at Function.N.setWrapperField (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/google-protobuf/google-protobuf.js:91:66)
at proto.pulumirpc.ResourceInvokeRequest.setArgs (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/pulumi/proto/resource_pb.js:4193:23)
at /home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/runtime/invoke.ts:386:9
at Generator.next (<anonymous>)
at /home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/pulumi/runtime/invoke.js:21:71
at new Promise (<anonymous>)
at __awaiter (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/pulumi/runtime/invoke.js:17:12)
at createInvokeRequest (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/pulumi/runtime/invoke.js:308:12)
at /home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/runtime/invoke.ts:293:27
at Generator.next (<anonymous>) {
promise: Promise { <rejected> [Circular *1] }
}
error: Running program '/home/aru/code/infrastructure/stacks/<my-project>/' failed with an unhandled exception:
<ref *1> TypeError: c.g is not a function
at Function.N.setWrapperField (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/google-protobuf/google-protobuf.js:91:66)
at proto.pulumirpc.ReadResourceRequest.setProperties (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/pulumi/proto/resource_pb.js:1152:23)
at Object.<anonymous> (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/runtime/resource.ts:348:21)
at Generator.next (<anonymous>)
at fulfilled (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/pulumi/runtime/resource.js:18:58) {
promise: Promise { <rejected> [Circular *1] }
}
error: Running program '/home/aru/code/infrastructure/stacks/<my-project>/' failed with an unhandled exception:
<ref *1> TypeError: c.g is not a function
at Function.N.setWrapperField (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/google-protobuf/google-protobuf.js:91:66)
at proto.pulumirpc.ReadResourceRequest.setProperties (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/pulumi/proto/resource_pb.js:1152:23)
at Object.<anonymous> (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/runtime/resource.ts:348:21)
at Generator.next (<anonymous>)
at fulfilled (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/pulumi/runtime/resource.js:18:58) {
promise: Promise { <rejected> [Circular *1] }
}
error: Running program '/home/aru/code/infrastructure/stacks/<my-project>/' failed with an unhandled exception:
<ref *1> TypeError: c.g is not a function
at Function.N.setWrapperField (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/google-protobuf/google-protobuf.js:91:66)
at proto.pulumirpc.RegisterResourceRequest.setObject (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/pulumi/proto/resource_pb.js:2541:23)
at Object.<anonymous> (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/runtime/resource.ts:564:21)
at Generator.next (<anonymous>)
at fulfilled (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/pulumi/runtime/resource.js:18:58) {
promise: Promise { <rejected> [Circular *1] }
}
error: Running program '/home/aru/code/infrastructure/stacks/<my-project>/' failed with an unhandled exception:
<ref *1> TypeError: c.g is not a function
at Function.N.setWrapperField (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/google-protobuf/google-protobuf.js:91:66)
at proto.pulumirpc.RegisterResourceRequest.setObject (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/pulumi/proto/resource_pb.js:2541:23)
at Object.<anonymous> (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/runtime/resource.ts:564:21)
at Generator.next (<anonymous>)
at fulfilled (/home/aru/code/infrastructure/stacks/<my-project>/node_modules/@pulumi/pulumi/runtime/resource.js:18:58) {
promise: Promise { <rejected> [Circular *1] }
}
Resources:
1 unchanged
future-area-11976
03/17/2025, 7:36 PM$ protoc --version
libprotoc 30.0
future-area-11976
03/17/2025, 7:36 PM$ node --version
v23.4.0
future-area-11976
03/17/2025, 7:36 PMbroad-helmet-79436
03/20/2025, 8:38 AMbroad-helmet-79436
03/20/2025, 8:39 AMtsconfig.json
file – have you changed anything?broad-helmet-79436
03/20/2025, 8:42 AMprotoc
version shouldn’t matter at all, but the Node version might – though Node 23.4.0 works fine in my projectbroad-helmet-79436
03/20/2025, 8:42 AMrhythmic-answer-89680
03/21/2025, 5:43 PMnpx patch-package
future-area-11976
03/21/2025, 5:44 PMfuture-area-11976
04/01/2025, 11:37 AM