thousands-hairdresser-7238009/11/2022, 8:42 PM
in a magic function but am running into this error:
It appears to be due to the bundled typescript that comes with Pulumi being incompatible with the latest version of zod. I’ve attempted to disable the built-in typescript runtime by adding the following to
TSError: ⨯ Unable to compile TypeScript: src/index.ts(286,14): error TS2589: Type instantiation is excessively deep and possibly infinite.
But now when I run
runtime: name: nodejs options: typescript: false
Any ideas as to how I can get around this? I’ve tried 1. creating a new typescript config with
import * as pulumi from '@pulumi/pulumi' ^^^^^^ SyntaxError: Cannot use import statement outside a module
and that doesn’t seem to help. 2. Setting
npx tsc --init
3. modifying the
, and a few other things. a. (trying anything haha) 4. Searching through the Pulumi a. Slack Logs b. Github Issues c. Source Code Any help would be greatly appreciated. Thank you!
worried-rain-7442009/12/2022, 1:52 PM
thousands-hairdresser-7238009/12/2022, 1:53 PM
orange-policeman-5911910/05/2022, 11:18 PM
thousands-hairdresser-7238010/06/2022, 12:59 PM