ancient-eve-13947
03/23/2022, 2:38 PMerror: Error serializing '() => provider': index.js(28,47)
'() => provider': index.js(28,47): captured
variable 'provider' which indirectly referenced
function 'Provider': configuration.ts(21,0): which referenced
function 'send': configuration.ts(60,8): which could not be serialized because
Unexpected missing variable in closure environment: fetch
quiet-wolf-18467
const fetch = await import(“node-fetch”)
ancient-eve-13947
03/23/2022, 2:41 PMquiet-wolf-18467
ancient-eve-13947
03/23/2022, 2:43 PMquiet-wolf-18467
ancient-eve-13947
03/23/2022, 2:44 PMerror: Program run without the Pulumi engine available; re-run using the `pulumi` CLI
quiet-wolf-18467
ancient-eve-13947
03/23/2022, 3:01 PMquiet-wolf-18467
ancient-eve-13947
03/23/2022, 3:11 PMpulumi up
run to exclude that this was a temporary issue. It was not.
So it feels like the error in the dynamic provider that leads to said message about not being run from the pulumi CLI might create follow-up issues.return
as its first line, to see if the errors go away then..send()
method of the provider.
UPDATE: the rabbitmq issue having gone away means that whatever this error with the `.send()`method, it leads to other issues, too.quiet-wolf-18467
ancient-eve-13947
03/24/2022, 9:31 AMquiet-wolf-18467
ancient-eve-13947
03/24/2022, 10:13 AMquiet-wolf-18467
getStack()
thing makes sense, because providers aren’t stack aware, as the Pulumi program calls them over gRPC (Though dynamic providers are different, I believe the constraint is the same)ancient-eve-13947
03/24/2022, 10:52 AMquiet-wolf-18467
ancient-eve-13947
03/24/2022, 10:53 AMquiet-wolf-18467
ancient-eve-13947
03/24/2022, 10:54 AMquiet-wolf-18467
ancient-eve-13947
03/24/2022, 10:55 AM