10/05/2022, 4:55 PM
Is it possible while using the go flavor of the automation API, to run pulumi programs in other languages such as typescript from a remote repo? I have go programs in a remote repo working fine, but I keep seeing the following error with TS programs
error: It looks like the Pulumi SDK has not been installed. Have you run npm install or yarn install?
I’ve tried doing a
npm install @pulumi/pulumi -g
which didn’t seem to help.


10/05/2022, 5:36 PM
yes, you can point the automation API at any exsting pulumi code, but you’ll need to make sure all the deps resolve yourself. Can you tell me a little more about how you have things set up?


10/05/2022, 6:23 PM
Ha while typing it out I got it. Thanks for the assist 🙂 My issue was since I was cloning from a remote repo, I needed to run an npm install in that directory to install the dependencies, which was being dynamically provisioned. Using the auto.GitRepo structs ability to embed a setup function, I was able to configure running
npm install
after the repo loaded.