This message was deleted.
# contribute
s
This message was deleted.
w
That suggests you are changing node versions between when you “NPM install” and when you run “Pulumi up”. If you ensure you run the same node version for both, you should never see this. That said, we are hoping to get rid of the native code dependency which leads to this whole class of problems as part of 2.0 in a couple months.
w
this is when i run unit tests, and i'm not switching node versions (that i know of). i am using nvm to manage node in general which might be at odds with the
make
script in the pulumi nodejs sdk which may rely on brew-installed node. i don't use brew installed node, but it was installed per the pulumi contributor instructions as a dependency of yarn (which we also don't normally use).
w
Yeah - somehow you are ending up using two different
node
versions here.
i don't use brew installed node, but it was installed per the pulumi contributor instructions as a dependency of yarn
I see - that is likely part of the root cause here. I don't off the top of my head know how best to address this - but it would be unique to trying to build locally and use a different node version than the local build for your development.
w
It's not a big deal to continue with
npm rebuild
if this is going to be holistically addressed as part of 2.0. Thanks for the info.