wonderful-dog-904505/12/2020, 4:14 PM
What am I doing wrong?
Error: The root stack resource was referenced before it was initialized. at Object.registerStackTransformation (/home/gsuess/empirica/meteor-deploy/node_modules/@pulumi/pulumi/runtime/stack.js:211:15)
faint-table-4272505/12/2020, 4:48 PM
will initialize the pulumi runtime. Part of that is establishing the necessary setup for things like stack transformations.
wonderful-dog-904505/12/2020, 4:50 PM
because I imported
swift-lunch-7441105/12/2020, 5:13 PM
faint-table-4272505/12/2020, 5:32 PM
import * as pulumi from @pulumi/pulumi
wonderful-dog-904505/12/2020, 6:03 PM
here https://github.com/pulumi/pulumi/blob/master/sdk/nodejs/runtime/stack.ts#L71. Looks like I can do a whole
throw new Error("init abort");
(without autotags), and
never runs. very strange
has the side-effect of invoking the initialisation? I cannot find it in the code where this is happening.
invokes the initialisation and somehow ends up with a different copy of the
package, which would explain why the initialisation of the package that I am interacting with never gets invoked.
faint-table-4272505/13/2020, 5:26 PM
will also bring in the runtime. It’s entirely possible you somehow have two copies of
depending on how your dependencies are setup. You can easily verify this via your
wonderful-dog-904505/14/2020, 7:59 AM
loads its own, regardless of package-lock?
faint-table-4272505/14/2020, 4:04 PM