Hey all, running into this issue with the Typescri...
# typescript
Hey all, running into this issue with the Typescript automation API:
Copy code
(node:22099) UnhandledPromiseRejectionWarning: Error [ERR_INSPECTOR_NOT_AVAILABLE] [ERR_INSPECTOR_NOT_AVAILABLE]: Inspector is not available
    at inspector.js:25:9
    at NativeModule.compileForInternalLoader (internal/bootstrap/loaders.js:277:7)
    at NativeModule.compileForPublicLoader (internal/bootstrap/loaders.js:219:10)
    at loadNativeModule (internal/modules/cjs/helpers.js:26:9)
    at Function.Module._load (internal/modules/cjs/loader.js:679:15)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at Module.require (pkg/prelude/bootstrap.js:1719:31)
    at require (internal/modules/cjs/helpers.js:74:18)
    at /snapshot/thin-cli/out/cloudcc.js:0
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:22099) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see <https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode>). (rejection id: 1)
(node:22099) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Which happens when I call
. I didn't see anything in issues with this error so I'm not sure if this is something on my side or not. More details in thread
"@pulumi/pulumi": "^3.13.2"
Bundling with
(targeting node12) and building a standalone executable with
(also targeting node12). I don't see this warning when running via
does some funny things to the node binary that pulumi uses under the hood. Like removing
I’ve found better success with nexe https://github.com/nexe/nexe
I'll try that, thanks!