Hi all, I’m working on a pulumi project in Clojure...
# general
f
Hi all, I’m working on a pulumi project in ClojureScript. the tldr is that in order to get a repl going to do live coding, I need to have a runtime for the output js. I have tried
node -e "require('./compiled-js')"
and i get
Error: Program run without the Pulumi engine available; re-run using the pulumi CLI
then when i run
pulumi watch compiled-js
i get
pulumi watch is not currently supported on darwin/arm64
can anyone think of another way I can get this process running?
c
Re the second error, can you run your terminal with Rosetta to resolve the architecture issue?
f
never heard of Rosetta before but i’ll read up and try it again. stand by
okay so i switched the terminal to rosetta and i still get
pulumi watch is not currently supported on darwin/arm64
despite the fact that when i run
arch
I get
i386
c
Hmm something weird there - I am on an M1 Mac,
arch
reports
i386
with Rosetta, and
pulumi watch
starts (I don't know what it does, but it starts without an error)
f
im on v3.36.0
c
I think if you're still getting an error about architecture then somehow it's not really running with Rosetta. But that's a guess. I probably can't help any further, sorry - I'm not a Pulumi expert. Good luck 🙂
e
We're are looking at replacing the way
watch
works with a new process that should work on M1's as well. It won't make the release today, but hopefully will be in the next release (probably on Aug 10th) Have you tried having just an index.js which requires your compiled code and running that with
pulumi up
?