worried-engineer-3388401/22/2020, 5:05 PM
Failed to load gRPC binary module because it was not installed for the current system Expected directory: node-v79-darwin-x64-unknown Found: [node-v72-darwin-x64-unknown] This problem can often be fixed by running "npm rebuild" on the current system Original error: Cannot find module '/opt/pulumi/node_modules/@pulumi/pulumi/node_modules/grpc/src/node/extension_binary/node-v79-darwin-x64-unknown/grpc_node.node' from 'grpc_extension.js'
seems to fix it, but mildly annoying.
cd /opt/pulumi/node_modules/@pulumi/pulumi && npm rebuild
white-balloon-20501/22/2020, 8:51 PM
worried-engineer-3388401/22/2020, 9:09 PM
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).
white-balloon-20501/22/2020, 9:24 PM
i don't use brew installed node, but it was installed per the pulumi contributor instructions as a dependency of yarnI 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.
worried-engineer-3388401/22/2020, 9:37 PM
if this is going to be holistically addressed as part of 2.0. Thanks for the info.