numerous-fall-58752
08/01/2024, 4:03 PMTypeError: Cannot convert object to primitive value
at process.uncaughtHandler (/home/ubuntu/infra/node_modules/@pulumi/cmd/run/run.ts:305:65)
at process.emit (node:events:531:35)
at process.emit (/home/ubuntu/infra/node_modules/source-map-support/source-map-support.js:516:21)
at emit (node:internal/process/promises:150:20)
at processPromiseRejections (node:internal/process/promises:284:27)
at processTicksAndRejections (node:internal/process/task_queues:96:32)
any ideas ?future-hairdresser-70637
08/05/2024, 10:23 PMindex.ts(9,27): error TS2552: Cannot find name 'bucketr'. Did you mean 'bucket'?
bland-processor-73185
10/17/2024, 4:11 PM# Pulumi.yaml
name: proj
description: something
runtime:
name: nodejs
options:
typescript: true
# See <https://github.com/TypeStrong/ts-node/issues/1007>
nodeargs: "--loader ts-node/esm --no-warnings"
future-hairdresser-70637
10/17/2024, 4:13 PMbland-processor-73185
10/22/2024, 2:34 PMindex.ts
containing just failll
causes:
Previewing update (dev):
Type Name Plan Info
pulumi:pulumi:Stack toto-dev 2 errors
Diagnostics:
pulumi:pulumi:Stack (toto-dev):
error: Running program '/work/pulumi-toto' failed with an unhandled exception:
TypeError: Cannot convert object to primitive value
at process.uncaughtHandler (/work/pulumi-toto/node_modules/@pulumi/cmd/run/run.ts:309:65)
at process.emit (node:events:532:35)
at process.emit (node:domain:488:12)
at process.emit.sharedData.processEmitHook.installedValue [as emit] (/work/pulumi-toto/node_modules/@cspotcode/source-map-support/source-map-support.js:745:40)
at emitUnhandledRejection (node:internal/process/promises:250:13)
at throwUnhandledRejectionsMode (node:internal/process/promises:385:19)
at processPromiseRejections (node:internal/process/promises:470:17)
at processTicksAndRejections (node:internal/process/task_queues:96:32)
error: an unhandled error occurred: Program exited with non-zero exit code: 1
bland-processor-73185
10/22/2024, 2:43 PMts-node
sucks (issues about ESM are still open after years), just use tsx
: https://github.com/pulumi/docs/issues/9466#issuecomment-2429480495
Previewing update (dev):
Type Name Plan Info
pulumi:pulumi:Stack toto-dev 1 error; 2 messages
Diagnostics:
pulumi:pulumi:Stack (toto-dev):
(node:751473) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node22 --trace-deprecation ...` to show where the warning was created)
error: Running program '/work/pulumi-toto' failed with an unhandled exception:
ReferenceError: failll is not defined
at file:///work/pulumi-toto/index.ts:1:1
at ModuleJob.run (node:internal/modules/esm/module_job:262:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:474:24)