Is it possible while using the go flavor of the au...
# golang
e
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.
b
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?
e
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.