Googled around and it seems the work around is to ...
# getting-started
s
Googled around and it seems the work around is to use --yes, but it means i dont get the preview
b
hey, the last time I saw this, it was because there was an environment variable on the user's machine that we use to detect if it's running in CI
s
is this the JENKINS_URL env var?
unset that, it should work
s
Sadly did not help, the env var does not exist
Get-Item -Path Env:* | ?{$_.Name -ilike '*jen*'}
b
This is the method we use to determine if you're running in an interactive terminal: https://github.com/pulumi/pulumi/blob/61ce479241cddbad5f1865b49c36cbe8e7441c83/sdk/go/common/util/cmdutil/console.go#L49 so steps are: - check if you have a
TERM
variable set - check if you have any of the CI environment variables set
s
Thanks, issue resolved.
b
would you mind sharing what the issue is in case someone else runs into it?
s
The issue was the shell. My default shell was the integrated shell - after changing the default to powershell 7 it worked