This message was deleted.
# general
s
This message was deleted.
b
I added some more information to the message.
After further debugging it looks like the issue comes from the fact that there are more than one copy of the Pulumi package that are being used. My app is divided into 2 modules: a CLI and a stand alone library. The CLI depends and uses the library and both have "@pulumi/pulumi" as a dependency, so every package is using its own version of the Pulumi package in its own 'node_modules' folder. Making the pulumi packages to peer dependencies in the library fixed the issue.
Is this an expected behaviour?