error: Running program '/home/c/hello-fargate/inde...
# general
s
error: Running program '/home/c/hello-fargate/index.ts' failed with an unhandled exception: TSError: ⨯ Unable to compile TypeScript: index.ts(5,27): error TS2339: Property 'elasticloadbalancingv2' does not exist on type 'typeof import("/home/c/hello-fargate/node_modules/@pulumi/awsx/index")'. index.ts(13,33): error TS2339: Property 'Image' does not exist on type 'typeof import("/home/c/hello-fargate/node_modules/@pulumi/awsx/ecs/index")'. The error pop up when
pulumi up
the tutorial
Running Containers on ECS Fargate
at step 7. It's like that the tutorial do not update?
m
Hi @silly-restaurant-76732, sorry you’re running trouble here. It does seem that the code on the tutorial page is either not complete or not up to date. The full source on GitHub seems to have been updated, though. Does that code work for you?
s
thanks. After this post, i've tried the github example and it work.