https://pulumi.com logo
Title
l

little-cartoon-10569

05/11/2021, 3:02 AM
My heretofore fully-working project is now complaining that Error: The root stack resource was referenced before it was initialized. What sort of thing should I be looking for in diagnosing this?
The stack hasn't (afaict) changed substantively. I have updated the dependencies: - added cloudinit 1.0.0 - updated runtime from 3.2.0 to 3.2.1 - updated node dependencies from 2.24.1 (and whatever my other packages were at the time I updated to 2.24.1) to 3.2.1 (and all the other latest updates).
Solved. It was caused by the link-to-parent-package.json workaround for lambdas-in-monorepos problem. I had two node_modules directories, supposedly both built from the same package.json, but only one had been updated. Once I deleted the "unimportant" one, everything started working again.
🙌 1